Skip to content

Commit

Permalink
[INTERNAL] azure: Migrate to task 'PublishCodeCoverageResults' version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
flovogt committed Jul 23, 2024
1 parent 6ebfa59 commit 99ef2c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ steps:
testResultsFormat: 'JUnit'
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'

- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
displayName: Publish Test Coverage Results
condition: succeededOrFailed()
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'

- script: npm run coverage
Expand Down

0 comments on commit 99ef2c3

Please sign in to comment.