Skip to content

Commit 7e156c0

Browse files
committed
Divide and conquer test isolation
Last run failed with no tracebacks, trying to narrow down.
1 parent 23721e7 commit 7e156c0

File tree

1 file changed

+82
-82
lines changed

1 file changed

+82
-82
lines changed

.github/workflows/runtests.py

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -6,88 +6,88 @@
66
from django.core.exceptions import ImproperlyConfigured
77

88
test_apps = [
9-
"admin_changelist",
10-
"admin_checks",
11-
"admin_custom_urls",
12-
"admin_docs",
13-
"admin_filters",
14-
"admin_inlines",
15-
"admin_ordering",
16-
# "admin_scripts",
17-
# 100+ errors of the form:
18-
#
19-
# File "/tmp/django_x2bciiad/tmpogmynqqo/test_project/alternate_settings.py",
20-
# line 2
21-
# {}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, \
22-
# 'CONN_HEALTH_CHECKS': False, 'TIME_ZONE': None, 'USER': '', \
23-
# 'PASSWORD': '', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, \
24-
# 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}}
25-
# ^
26-
# SyntaxError: invalid syntax
27-
"admin_utils",
28-
"admin_views",
29-
"admin_widgets",
30-
"aggregation",
31-
"aggregation_regress",
32-
"annotations",
33-
"apps",
34-
"async",
35-
"auth_tests",
36-
"backends",
37-
"basic",
38-
"bulk_create",
39-
"cache",
40-
# "check_framework",
41-
# FAIL: test_collision_across_apps
42-
# FAIL: test_collision_in_same_app
43-
# db_table 'test_table' is used by multiple models
44-
"constraints",
45-
"contenttypes_tests",
46-
"context_processors",
47-
"custom_columns",
48-
"custom_lookups",
49-
"custom_managers",
50-
"custom_pk",
51-
"datatypes",
52-
"dates",
53-
"datetimes",
54-
"db_functions",
55-
"defer",
56-
"defer_regress",
57-
"delete",
58-
"delete_regress",
59-
"empty",
60-
"empty_models",
61-
"expressions",
62-
"expressions_case",
63-
"field_defaults",
64-
"file_storage",
65-
"file_uploads",
66-
"fixtures",
67-
"fixtures_model_package",
68-
"fixtures_regress",
69-
"flatpages_tests",
70-
"force_insert_update",
71-
"foreign_object",
72-
"forms_tests",
73-
"from_db_value",
74-
"generic_inline_admin",
75-
"generic_relations",
76-
"generic_relations_regress",
77-
"generic_views",
78-
"get_earliest_or_latest",
79-
"get_object_or_404",
80-
"get_or_create",
81-
"i18n",
82-
"indexes",
83-
"inline_formsets",
84-
"introspection",
85-
"invalid_models_tests",
86-
"known_related_objects",
87-
"lookup",
88-
"m2m_and_m2o",
89-
"m2m_intermediary",
90-
"m2m_multiple",
9+
# "admin_changelist",
10+
# "admin_checks",
11+
# "admin_custom_urls",
12+
# "admin_docs",
13+
# "admin_filters",
14+
# "admin_inlines",
15+
# "admin_ordering",
16+
# # "admin_scripts",
17+
# # 100+ errors of the form:
18+
# #
19+
# # File "/tmp/django_x2bciiad/tmpogmynqqo/test_project/alternate_settings.py",
20+
# # line 2
21+
# # {}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, \
22+
# # 'CONN_HEALTH_CHECKS': False, 'TIME_ZONE': None, 'USER': '', \
23+
# # 'PASSWORD': '', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, \
24+
# # 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}}
25+
# # ^
26+
# # SyntaxError: invalid syntax
27+
# "admin_utils",
28+
# "admin_views",
29+
# "admin_widgets",
30+
# "aggregation",
31+
# "aggregation_regress",
32+
# "annotations",
33+
# "apps",
34+
# "async",
35+
# "auth_tests",
36+
# "backends",
37+
# "basic",
38+
# "bulk_create",
39+
# "cache",
40+
# # "check_framework",
41+
# # FAIL: test_collision_across_apps
42+
# # FAIL: test_collision_in_same_app
43+
# # db_table 'test_table' is used by multiple models
44+
# "constraints",
45+
# "contenttypes_tests",
46+
# "context_processors",
47+
# "custom_columns",
48+
# "custom_lookups",
49+
# "custom_managers",
50+
# "custom_pk",
51+
# "datatypes",
52+
# "dates",
53+
# "datetimes",
54+
# "db_functions",
55+
# "defer",
56+
# "defer_regress",
57+
# "delete",
58+
# "delete_regress",
59+
# "empty",
60+
# "empty_models",
61+
# "expressions",
62+
# "expressions_case",
63+
# "field_defaults",
64+
# "file_storage",
65+
# "file_uploads",
66+
# "fixtures",
67+
# "fixtures_model_package",
68+
# "fixtures_regress",
69+
# "flatpages_tests",
70+
# "force_insert_update",
71+
# "foreign_object",
72+
# "forms_tests",
73+
# "from_db_value",
74+
# "generic_inline_admin",
75+
# "generic_relations",
76+
# "generic_relations_regress",
77+
# "generic_views",
78+
# "get_earliest_or_latest",
79+
# "get_object_or_404",
80+
# "get_or_create",
81+
# "i18n",
82+
# "indexes",
83+
# "inline_formsets",
84+
# "introspection",
85+
# "invalid_models_tests",
86+
# "known_related_objects",
87+
# "lookup",
88+
# "m2m_and_m2o",
89+
# "m2m_intermediary",
90+
# "m2m_multiple",
9191
"m2m_recursive",
9292
"m2m_regress",
9393
"m2m_signals",

0 commit comments

Comments
 (0)