Skip to content

Commit

Permalink
Add codecov.io to official pipeline (#4163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink authored Nov 26, 2024
1 parent e7c722a commit 02402e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ extends:
name: Test
displayName: Test

# Upload code coverage to codecov.io
- script: $(Build.SourcesDirectory)/.dotnet/dotnet msbuild -restore
eng/CodeCoverage.proj
/p:Configuration=$(_BuildConfig)
/bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\CodeCoverage.binlog
displayName: Upload coverage to codecov.io

# Remove temporary artifacts to avoid finding binskim issues for exes we don't own.
- pwsh: |
Remove-Item -Path $(Build.SourcesDirectory)/artifacts/tmp -Recurse -Force
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ stages:
name: Test
displayName: Test

# Upload code coverage data
# Upload code coverage to codecov.io
- script: $(Build.SourcesDirectory)/.dotnet/dotnet msbuild -restore
eng/CodeCoverage.proj
/p:Configuration=$(_BuildConfig)
Expand Down

0 comments on commit 02402e8

Please sign in to comment.