mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Don't use external libraries when running tests
This commit is contained in:
parent
67b01ea0b3
commit
0079b6d96d
@ -14,7 +14,7 @@ py39:
|
|||||||
stage: test
|
stage: test
|
||||||
image: python:3.9-alpine
|
image: python:3.9-alpine
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --no-cache gcc libmagic
|
- apk add --no-cache libmagic
|
||||||
- pip install tox --no-cache-dir
|
- pip install tox --no-cache-dir
|
||||||
script: tox -e py39
|
script: tox -e py39
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ INSTALLED_APPS = [
|
|||||||
'participation',
|
'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 += [
|
INSTALLED_APPS += [
|
||||||
'cas_server',
|
'cas_server',
|
||||||
'django_extensions',
|
'django_extensions',
|
||||||
|
Loading…
Reference in New Issue
Block a user