Skip to content
Snippets Groups Projects
Commit 267851f7 authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Update .gitlab-ci.yml file to fix coverage report issue

parent 4716e1c5
No related branches found
No related tags found
1 merge request!26CLI functionalities
Pipeline #1987 failed with stage
in 5 minutes and 49 seconds
......@@ -44,7 +44,8 @@ python3.9:
- passoft
stage: Static Analysis and Test
script:
- coverage run -m unittest
- coverage run --source="$CI_PROJECT_NAME" -m unittest discover
- if [ "$?" -eq 0 ]; then echo $PYVER > .ci-internal/passed/$PYVER.txt; fi
- coverage report -m
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
......@@ -54,6 +55,7 @@ python3.10:
- passoft
stage: Static Analysis and Test
script:
- coverage run -m unittest
- coverage run --source="$CI_PROJECT_NAME" -m unittest discover
- if [ "$?" -eq 0 ]; then echo $PYVER > .ci-internal/passed/$PYVER.txt; fi
- coverage report -m
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
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