ci: support downstream erpnext migration within exception code path (#28081)

This commit is contained in:
David Arnold 2024-10-10 19:01:59 +02:00 committed by GitHub
parent 788f71e259
commit d6fb73aa3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,6 +102,9 @@ class ParallelTestRunner:
if hasattr(module, "test_dependencies"):
for doctype in module.test_dependencies:
make_test_records(doctype, commit=True)
if hasattr(module, "EXTRA_TEST_RECORD_DEPENDENCIES"):
for doctype in module.EXTRA_TEST_RECORD_DEPENDENCIES:
make_test_records(doctype, commit=True)
if os.path.basename(os.path.dirname(path)) == "doctype":
# test_data_migration_connector.py > data_migration_connector.json