Also generate unit test report
This commit is contained in:
parent
b5f16f161c
commit
a20145b447
@ -4,12 +4,13 @@ run tests:
|
||||
script:
|
||||
- pip install pytest pytest-cov pytest-mock pytest-flask
|
||||
- pip install Flask-HTTPAuth
|
||||
- coverage run -m pytest
|
||||
- coverage run -m pytest --junitxml=report.xml
|
||||
- coverage report
|
||||
- coverage xml
|
||||
coverage: '/^TOTAL.+?(\d+\%)$/'
|
||||
artifacts:
|
||||
reports:
|
||||
cobertura: coverage.xml
|
||||
junit: report.xml
|
||||
tags:
|
||||
- docker
|
||||
|
Loading…
x
Reference in New Issue
Block a user