Generate reports properly
This commit is contained in:
parent
da77f77777
commit
b15b6f705d
@ -26,11 +26,9 @@ test:pytest:
|
|||||||
script:
|
script:
|
||||||
- 'pip install --upgrade pytest coverage'
|
- 'pip install --upgrade pytest coverage'
|
||||||
- 'pip install --upgrade -r requirements.txt'
|
- 'pip install --upgrade -r requirements.txt'
|
||||||
- 'cd src'
|
- 'coverage run --source . -m pytest --junitxml=report.xml'
|
||||||
- 'coverage run --source . --omit model/application.py --omit model=logger.py -m pytest --junitxml=../report.xml'
|
|
||||||
- 'coverage report'
|
- 'coverage report'
|
||||||
- 'coverage xml'
|
- 'coverage xml'
|
||||||
- 'mv coverage.xml ..'
|
|
||||||
only:
|
only:
|
||||||
- branches@manuelcortez/updater
|
- branches@manuelcortez/updater
|
||||||
- release
|
- release
|
||||||
|
Loading…
Reference in New Issue
Block a user