Skip to content

Commit

Permalink
fixup! Run tests in parallel jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Dec 8, 2023
1 parent 97ffc54 commit 1bd286a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nuget/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Codecov" version="1.9.0" />
<package id="CodecovUploader" version="0.7.1" />
<package id="OpenCover" version="4.6.519" />
<package id="ReportGenerator" version="5.2.0" />
<package id="xunit.runner.console" version="2.4.1" />
Expand Down
6 changes: 3 additions & 3 deletions build/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,12 @@ stages:
script: |
$packageConfig = [xml](Get-Content .\.nuget\packages.config)
$packages_folder = '.\packages'
$codecov_version = $packageConfig.SelectSingleNode('/packages/package[@id="Codecov"]').version
$codecov = "$packages_folder\Codecov.$codecov_version\tools\codecov.exe"
$codecov_version = $packageConfig.SelectSingleNode('/packages/package[@id="CodecovUploader"]').version
$codecov = "$packages_folder\CodecovUploader.$codecov_version\tools\codecov.exe"
&$codecov -f '$(Pipeline.Workspace)/coverageResults-final/Cobertura.xml' --required
- task: PublishPipelineArtifact@1
displayName: Publish merged coverage
inputs:
targetPath: $(Pipeline.Workspace)/coverageResults-final
artifact: coverageResults-final-${{ parameters.BuildConfiguration }}
artifact: coverageResults-final-${{ parameters.BuildConfiguration }}-$(System.JobId)

0 comments on commit 1bd286a

Please sign in to comment.