From 1cc00203816b029a3594359df3126f237698a7f7 Mon Sep 17 00:00:00 2001 From: Czar Echavez Date: Sat, 2 Dec 2023 19:38:45 +0000 Subject: [PATCH] #2084: only upload copy of html report once --- .azure/azure-ci-build-pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 239369f5..221bedd5 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -117,9 +117,12 @@ stages: testRunTitle: 'Publish test results' - publish: $(System.DefaultWorkingDirectory)/htmlcov/ + # publish the html report - so we can debug the coverage if needed + condition: ${{ item.every_time }} # should only be run once artifact: coverage_report - task: PublishCodeCoverageResults@2 + # publish the code coverage so it can be viewed in the run coverage page condition: ${{ item.every_time }} # should only be run once inputs: codeCoverageTool: Cobertura