ci: fix coverage combine for unittest and e2e

This commit is contained in:
Jens Langhammer 2020-09-14 09:52:43 +02:00
parent a57d21f5e8
commit e69ca5a229
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,6 @@
[run] [run]
source = passbook source = passbook
relative_files = true
omit = omit =
*/asgi.py */asgi.py
manage.py manage.py

View File

@ -225,11 +225,9 @@ stages:
script: | script: |
sudo pip install -U wheel pipenv sudo pip install -U wheel pipenv
pipenv install --dev pipenv install --dev
find .
pipenv run coverage combine coverage-e2e/coverage coverage-unittest/coverage pipenv run coverage combine coverage-e2e/coverage coverage-unittest/coverage
pipenv run coverage xml pipenv run coverage xml
pipenv run coverage html pipenv run coverage html
find .
- task: PublishCodeCoverageResults@1 - task: PublishCodeCoverageResults@1
inputs: inputs:
codeCoverageTool: 'Cobertura' codeCoverageTool: 'Cobertura'