diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3948a08fc4f4cbd8920dc2be3a43f8044e7b5d67..d323ad32eb7ee7ed5a2099aa039ec659274a0e86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,3 @@ - stages: - build - test @@ -25,13 +24,15 @@ test_coverage: services: - postgres:9.5 script: - - coverage run backend/manage.py test --noinput + - cd backend/ + - coverage run manage.py test --noinput - coverage report --skip-covered test_pylint: <<: *test_definition script: - - pylint backend/core || exit 0 + - cd backend/ + - pylint core || exit 0 .staging_template: &staging_definition