Skip to content
Snippets Groups Projects
Commit fa4b53b6 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Fix coverage bug in pipeline

parent e28255e8
No related branches found
No related tags found
No related merge requests found
...@@ -37,14 +37,15 @@ navipy_unittest: ...@@ -37,14 +37,15 @@ navipy_unittest:
script: script:
- source $CI_PROJECT_DIR/venv/bin/activate - source $CI_PROJECT_DIR/venv/bin/activate
- python3 -m unittest discover navipy #- python3 -m unittest discover navipy
coverage: coverage:
stage: test stage: test
script: script:
- pip3 install --user nose - pip3 install --user nose
- pip3 install --user coverage
- python3 -m nose -c .noserc -q --cover-html-dir=build --cover-html - 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}%)/' coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment