From e0546518a7a4b4150c1f644c80211d417fb5954a Mon Sep 17 00:00:00 2001 From: MikeSmithEU Date: Mon, 8 Apr 2019 12:39:58 +0200 Subject: [PATCH] publish coverage report in azure #21 --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b447bdb2..07f697b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,6 +50,11 @@ jobs: testResultsFiles: '**/test-results.xml' testRunTitle: 'Python $(python.version)' condition: succeededOrFailed() + - task: PublishCodeCoverageResults@1 + inputs: + codeCoverageTool: Cobertura + summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' + reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov' - job: 'Lint' pool: