Skip to content

Commit

Permalink
#802. Upgrade PublishCodeCoverageResults@1 to version 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sys27 committed Sep 22, 2024
1 parent 220a89d commit 1742dc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CI/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ jobs:
arguments: '--nologo --no-build -c $(buildConfiguration) -p:CollectCoverage=true -p:CoverletOutput=$(Build.SourcesDirectory)/coverage/'
publishTestResults: true

- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: '$(Build.SourcesDirectory)/coverage/coverage.cobertura.xml'
pathToSources: '$(Build.SourcesDirectory)/coverage/'
failIfCoverageEmpty: true
Expand Down

0 comments on commit 1742dc9

Please sign in to comment.