1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 18:22:24 +00:00

Don't use external libraries when running tests

This commit is contained in:
Yohann D'ANELLO 2020-12-28 19:12:07 +01:00
parent 67b01ea0b3
commit 0079b6d96d
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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',