Skip to content

Commit

Permalink
discover tests in django_mongodb/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 3, 2025
1 parent a40e0ae commit 441119d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"apps",
"async",
"auth_tests",
"backend_",
"backends",
"basic",
"bulk_create",
Expand All @@ -38,7 +37,6 @@
"dates",
"datetimes",
"db_functions",
"dbshell_",
"defer",
"defer_regress",
"delete",
Expand All @@ -57,7 +55,6 @@
"force_insert_update",
"foreign_object",
"forms_tests",
"forms_tests_",
"from_db_value",
"generic_inline_admin",
"generic_relations",
Expand All @@ -68,7 +65,6 @@
"get_or_create",
"i18n",
"indexes",
"indexes_",
"inline_formsets",
"introspection",
"invalid_models_tests",
Expand All @@ -93,7 +89,6 @@
"migration_test_data_persistence",
"migrations",
"model_fields",
"model_fields_",
"model_forms",
"model_formsets",
"model_formsets_regress",
Expand All @@ -120,9 +115,7 @@
"proxy_model_inheritance",
"proxy_models",
"queries",
"queries_",
"queryset_pickle",
"raw_query_",
"redirects_tests",
"reserved_names",
"reverse_lookup",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 441119d

Please sign in to comment.