coverage percent in pipeline
This commit is contained in:
parent
9b21fcb6e3
commit
a10ce3e472
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,8 @@ tests:
|
|||
stage: test
|
||||
script:
|
||||
- apk add --no-cache libstdc++
|
||||
- coverage run --source matrix_alertbot -m pytest --junitxml=report.xml
|
||||
- coverage run --source matrix_alertbot --parallel-mode -m pytest --junitxml=report.xml
|
||||
- coverage report --precision 2
|
||||
- coverage xml -o coverage.xml
|
||||
cache:
|
||||
policy: pull
|
||||
|
@ -66,4 +67,5 @@ tests:
|
|||
coverage_format: cobertura
|
||||
path: coverage.xml
|
||||
junit: report.xml
|
||||
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\%)$/'
|
||||
interruptible: true
|
||||
|
|
Loading…
Reference in a new issue