From e69ca5a229e3b65420d36353ff624383e6bda88c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 14 Sep 2020 09:52:43 +0200 Subject: [PATCH] ci: fix coverage combine for unittest and e2e --- .coveragerc | 1 + azure-pipelines.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.coveragerc b/.coveragerc index a0001b5dc..e211a4f1f 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] source = passbook +relative_files = true omit = */asgi.py manage.py diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 08cde22d1..fd1b6a540 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -225,11 +225,9 @@ stages: script: | sudo pip install -U wheel pipenv pipenv install --dev - find . pipenv run coverage combine coverage-e2e/coverage coverage-unittest/coverage pipenv run coverage xml pipenv run coverage html - find . - task: PublishCodeCoverageResults@1 inputs: codeCoverageTool: 'Cobertura'