fix pipeline to use coverage report from pytest
This commit is contained in:
parent
dcd16f71e8
commit
f27a2489ed
1 changed files with 1 additions and 3 deletions
|
@ -60,9 +60,7 @@ tests:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- apk add --no-cache libstdc++
|
- apk add --no-cache libstdc++
|
||||||
- coverage run --source matrix_alertbot -m pytest --junitxml=report.xml
|
- pytest
|
||||||
- coverage report --precision 2
|
|
||||||
- coverage xml -o coverage.xml
|
|
||||||
cache:
|
cache:
|
||||||
policy: pull
|
policy: pull
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue