fix pipeline to use coverage report from pytest

This commit is contained in:
HgO 2024-04-17 16:11:30 +02:00
parent dcd16f71e8
commit f27a2489ed

View file

@ -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: