Don't use external libraries when running tests
This commit is contained in:
parent
67b01ea0b3
commit
0079b6d96d
|
@ -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
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue