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
|
||||
script:
|
||||
- apk add --no-cache libstdc++
|
||||
- coverage run --source matrix_alertbot -m pytest --junitxml=report.xml
|
||||
- coverage report --precision 2
|
||||
- coverage xml -o coverage.xml
|
||||
- pytest
|
||||
cache:
|
||||
policy: pull
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in a new issue