Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update macOS image and PublishCodeCoverageResults task in CI #2573

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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