Feature/01 test all the things

This commit is contained in:
2022-03-14 15:41:45 +00:00
parent bfe4a0af89
commit 4ca4233892
9 changed files with 324 additions and 52 deletions

View File

@ -4,12 +4,14 @@ 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:
when: always
reports:
cobertura: coverage.xml
junit: report.xml
tags:
- docker