Generate reports properly

This commit is contained in:
Manuel Cortez 2022-02-19 16:12:50 -06:00
parent da77f77777
commit b15b6f705d
No known key found for this signature in database
GPG Key ID: 262CC30FA01B5CBF

View File

@ -26,11 +26,9 @@ test:pytest:
script:
- 'pip install --upgrade pytest coverage'
- 'pip install --upgrade -r requirements.txt'
- 'cd src'
- 'coverage run --source . --omit model/application.py --omit model=logger.py -m pytest --junitxml=../report.xml'
- 'coverage run --source . -m pytest --junitxml=report.xml'
- 'coverage report'
- 'coverage xml'
- 'mv coverage.xml ..'
only:
- branches@manuelcortez/updater
- release