diff --git a/.github/workflows/runtests.py b/.github/workflows/runtests.py index 8bc424e1..831c2bf8 100755 --- a/.github/workflows/runtests.py +++ b/.github/workflows/runtests.py @@ -21,7 +21,6 @@ "apps", "async", "auth_tests", - "backend_", "backends", "basic", "bulk_create", @@ -38,7 +37,6 @@ "dates", "datetimes", "db_functions", - "dbshell_", "defer", "defer_regress", "delete", @@ -57,7 +55,6 @@ "force_insert_update", "foreign_object", "forms_tests", - "forms_tests_", "from_db_value", "generic_inline_admin", "generic_relations", @@ -68,7 +65,6 @@ "get_or_create", "i18n", "indexes", - "indexes_", "inline_formsets", "introspection", "invalid_models_tests", @@ -93,7 +89,6 @@ "migration_test_data_persistence", "migrations", "model_fields", - "model_fields_", "model_forms", "model_formsets", "model_formsets_regress", @@ -120,9 +115,7 @@ "proxy_model_inheritance", "proxy_models", "queries", - "queries_", "queryset_pickle", - "raw_query_", "redirects_tests", "reserved_names", "reverse_lookup", @@ -156,6 +149,13 @@ "validation", "view_tests", "xor_lookups", + # Add directories in django_mongodb/tests + *sorted( + [ + x.name + for x in (pathlib.Path(__file__).parent.parent.parent.resolve() / "tests").iterdir() + ] + ), ] runtests = pathlib.Path(__file__).parent.resolve() / "runtests.py" run_tests_cmd = f"python3 {runtests} %s --settings mongodb_settings -v 2"