From 32cfd48a3600ca74e82aec024a7145fc94153bd6 Mon Sep 17 00:00:00 2001 From: Frode Flaten <3436158+fflaten@users.noreply.github.com> Date: Tue, 12 Nov 2024 21:15:44 +0100 Subject: [PATCH] Update macOS image and PublishCodeCoverageResults task in CI (#2573) * Replace deprecated macOS 12 image in CI * Upgrade deprecated PublishCodeCoverageResults task to v2 --- azure-pipelines.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c9a22f910..9261634f0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 @@ -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