From 7ba5f7a743ca805a47b9b410a5493c154e4a8863 Mon Sep 17 00:00:00 2001 From: Steven Liekens Date: Sat, 15 Jun 2019 17:21:21 +0200 Subject: [PATCH] Add PublishCodeCoverageResults task --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3b04a3f74..51af857b4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,6 +38,10 @@ steps: command: 'test' arguments: '--configuration $(BuildConfiguration) --collect:"XPlat Code Coverage"' displayName: 'Test All Projects' +- task: PublishCodeCoverageResults@1 + inputs: + codeCoverageTool: 'Cobertura' + summaryFileLocation: '**/coverage.cobertura.xml' - task: DotNetCoreCLI@2 inputs: command: 'pack'