fix code coverage report
This commit is contained in:
parent
f27a2489ed
commit
d330e88d54
2 changed files with 2 additions and 3 deletions
|
@ -68,8 +68,7 @@ tests:
|
||||||
coverage_report:
|
coverage_report:
|
||||||
coverage_format: cobertura
|
coverage_format: cobertura
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
junit: report.xml
|
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+(\.\d+)?\%)$/'
|
||||||
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\.\d+\%)$/'
|
|
||||||
needs:
|
needs:
|
||||||
- job: linting
|
- job: linting
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
asyncio_mode=strict
|
asyncio_mode=strict
|
||||||
addopts=--cov=matrix_alertbot --cov-report=lcov:lcov.info --cov-report=term
|
addopts=--cov=matrix_alertbot --cov-report=xml:coverage.xml --cov-report=term
|
||||||
|
|
Loading…
Reference in a new issue