Skip to content

Commit

Permalink
Update macOS image and PublishCodeCoverageResults task in CI (#2573)
Browse files Browse the repository at this point in the history
* Replace deprecated macOS 12 image in CI

* Upgrade deprecated PublishCodeCoverageResults task to v2
  • Loading branch information
fflaten authored Nov 12, 2024
1 parent cb5d640 commit 32cfd48
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ stages:
PS7_Ubuntu_22_04:
vmImage: ubuntu-22.04
pwsh: true
PS7_macOS_12:
vmImage: macOS-12
pwsh: true
PS7_macOS_13:
vmImage: macOS-13
pwsh: true
PS7_macOS_14:
vmImage: macOS-14
pwsh: true
PS7_Windows_Server2019:
vmImage: windows-2019
pwsh: true
Expand All @@ -114,9 +114,8 @@ stages:
script: |
& ./test.ps1 -CI -CC -PassThru -NoBuild
workingDirectory: '$(Build.SourcesDirectory)'
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
codeCoverageTool: 'JaCoCo'
summaryFileLocation: 'coverage.xml'
pathToSources: '$(Build.SourcesDirectory)/bin/'
failIfCoverageEmpty: false
Expand Down

0 comments on commit 32cfd48

Please sign in to comment.