Skip to content

Commit

Permalink
Merge pull request #263 from AArnott/codecovTaskUpdate
Browse files Browse the repository at this point in the history
Update PublishCodeCoverageResults task to v2
  • Loading branch information
AArnott authored Aug 15, 2024
2 parents 9955408 + e2bf1ce commit 742e882
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines/publish-codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ steps:
condition: and(succeeded(), ${{ parameters.includeMacOS }})
- powershell: azure-pipelines/Merge-CodeCoverage.ps1 -Path '$(Pipeline.Workspace)' -OutputFile coveragereport/merged.cobertura.xml -Format Cobertura -Verbose
displayName: ⚙ Merge coverage
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
displayName: 📢 Publish code coverage results to Azure DevOps
inputs:
codeCoverageTool: cobertura
summaryFileLocation: coveragereport/merged.cobertura.xml
failIfCoverageEmpty: true

0 comments on commit 742e882

Please sign in to comment.