ci: fix coverage combine for unittest and e2e
This commit is contained in:
parent
a57d21f5e8
commit
e69ca5a229
|
@ -1,5 +1,6 @@
|
||||||
[run]
|
[run]
|
||||||
source = passbook
|
source = passbook
|
||||||
|
relative_files = true
|
||||||
omit =
|
omit =
|
||||||
*/asgi.py
|
*/asgi.py
|
||||||
manage.py
|
manage.py
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Reference in New Issue