From eead0ee65e85ec91222570c0070b96b8fc97e837 Mon Sep 17 00:00:00 2001 From: "robinwilliam.hundt" <robinwilliam.hundt@stud.uni-goettingen.de> Date: Sat, 4 Nov 2017 10:50:47 +0100 Subject: [PATCH] Update .gitlab-ci.yml Configured tes_coverage and test_pylint to change to backend dir --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3948a08f..d323ad32 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 -- GitLab