diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 863abd5..7b3a6b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ py39: stage: test image: python:3.9-alpine before_script: - - apk add --no-cache gcc libmagic + - apk add --no-cache libmagic - pip install tox --no-cache-dir script: tox -e py39 diff --git a/tfjm/settings.py b/tfjm/settings.py index 3fbdcb0..6e47c82 100644 --- a/tfjm/settings.py +++ b/tfjm/settings.py @@ -68,7 +68,7 @@ INSTALLED_APPS = [ 'participation', ] -if "test" not in sys.argv: # pragma: no cover +if "test" not in sys.argv and not "makemigrations" in sys.argv: # pragma: no cover INSTALLED_APPS += [ 'cas_server', 'django_extensions',