File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 - run :
7878 name : " Tests: Run end-to-end (E2E) tests"
7979 command : |
80- cd tests && $HOME/.local/bin/uv run pytest test_auth.py test_account_creation.py test_competition.py test_submission.py
80+ cd tests && CI=True $HOME/.local/bin/uv run pytest test_auth.py test_account_creation.py test_competition.py test_submission.py
8181 no_output_timeout : 30m
8282
8383 # Example to run specific set of tests (for debugging individual tests from a batch of tests)
Original file line number Diff line number Diff line change 33
44DEBUG = True
55
6+ CELERY_TASK_ALWAYS_EAGER = True
7+
68# Don't use whitenoise -- so we don't get exceptions for missing files
79STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
810
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def test_v18(page: Page):
101101
102102
103103# Skip this test if in the CI
104- @pytest .mark .skipif (ci , reason = "Works locally but fails in the CI for some reason " )
104+ @pytest .mark .skipif (ci , reason = "Works locally but fails in the CI because of CELERY_TASK_ALWAYS_EAGER = True " )
105105def test_v2_multiTask (page : Page ) -> None :
106106 page .goto ("/" )
107107 page .get_by_role ("link" , name = " Benchmarks/Competitions" ).click ()
@@ -155,7 +155,7 @@ def test_v2_multiTask(page: Page) -> None:
155155
156156
157157# Skip this test if in the CI
158- @pytest .mark .skipif (ci , reason = "Works locally but fails in the CI for some reason " )
158+ @pytest .mark .skipif (ci , reason = "Works locally but fails in the CI because of CELERY_TASK_ALWAYS_EAGER = True" ")
159159def test_v2_multiTaskFactSheet (page : Page ) -> None :
160160 page .goto ("/" )
161161 page .get_by_role ("link" , name = " Benchmarks/Competitions" ).click ()
You can’t perform that action at this time.
0 commit comments