diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 45df6539..b9a80fc4 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -100,3 +100,11 @@ stages: - script: | pytest --cov=src --cov-report=html --cov-report=xml --cov-fail-under=80 displayName: 'Run tests and code coverage' + + - task: PublishCodeCoverageResults@1 + displayName: 'Publish coverage report' + inputs: + codeCoverageTool: Cobertura + summaryFileLocation: './coverage.xml' + reportDirectory: './htmlcov' + failIfCoverageEmpty: true