We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eff509 commit 95140e4Copy full SHA for 95140e4
ci/testing.yml
@@ -19,9 +19,10 @@
19
targetdir: '$(Build.SourcesDirectory)/coveragereport'
20
reporttypes: 'Cobertura;HtmlInline_AzurePipelines'
21
22
-- task: PublishCodeCoverageResults@1
+- task: PublishCodeCoverageResults@2
23
displayName: 'Publish Code Coverage Results'
24
inputs:
25
codeCoverageTool: 'Cobertura'
26
summaryFileLocation: '$(Build.SourcesDirectory)/coveragereport/Cobertura.xml'
27
reportDirectory: '$(Build.SourcesDirectory)/coveragereport'
28
+ failIfCoverageEmpty: true # Optional: Makes the build fail if no coverage data is found
0 commit comments