From fa4b53b601bc35becf93085ee06d699e314aadeb Mon Sep 17 00:00:00 2001 From: "Olivier J.N. Bertrand" <olivier.bertrand@uni-bielefeld.de> Date: Wed, 16 May 2018 18:54:59 +0200 Subject: [PATCH] Fix coverage bug in pipeline --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25392d8..cc68f34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,14 +37,15 @@ navipy_unittest: script: - source $CI_PROJECT_DIR/venv/bin/activate - - python3 -m unittest discover navipy + #- python3 -m unittest discover navipy coverage: stage: test script: - pip3 install --user nose + - pip3 install --user coverage - python3 -m nose -c .noserc -q --cover-html-dir=build --cover-html - - coverage report -m + - python3 -m coverage report -m coverage: '/TOTAL.+ ([0-9]{1,3}%)/' artifacts: paths: -- GitLab