diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index abb87da..c97b53c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,8 @@ before_script: test_and_coverage: stage: test script: - - echo "TEMPLATES[0]['OPTIONS']['debug'] = True" > config_local.py + - echo "from ivatar.settings import TEMPLATES # noqa" > config_local.py + - echo "TEMPLATES[0]['OPTIONS']['debug'] = True" >> config_local.py - echo "DEBUG = True" >> config_local.py - python manage.py collectstatic --noinput - coverage run --source . manage.py test -v3