diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fe32912059..0114090b60 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,9 +62,6 @@ jobs: run: | echo "JWKS_BASE64=$(python manage.py generate_jwks)" >> $GITHUB_ENV - - name: Run celery worker for tests - run: celery -A config.celery_app worker -B --loglevel=INFO --detach - - name: Run Tests with coverage run: coverage run manage.py test --settings=config.settings.test --parallel=$(nproc) diff --git a/config/settings/test.py b/config/settings/test.py index 26b8c42676..bd05bb751e 100644 --- a/config/settings/test.py +++ b/config/settings/test.py @@ -64,7 +64,6 @@ # https://whitenoise.evans.io/en/stable/django.html#whitenoise-makes-my-tests-run-slow WHITENOISE_AUTOREFRESH = True - LOGGING = { "version": 1, "disable_existing_loggers": False, @@ -89,3 +88,5 @@ "level": "ERROR", }, } + +CELERY_TASK_ALWAYS_EAGER = True