Skip to content

Commit 3d69e95

Browse files
authored
Added codecov uploading (#622)
1 parent 4a549ec commit 3d69e95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,14 @@ jobs:
117117
--configuration Release
118118
${{ runner.os == 'Windows' && '-p:IncludeNetCoreAppTargets=false' || '' }}
119119
--logger "trx;LogFileName=pw-test-results.trx"
120+
--collect:"XPlat Code Coverage"
120121
--
121122
RunConfiguration.CollectSourceInformation=true
122123
124+
- name: Upload coverage to Codecov
125+
if: matrix.os == 'ubuntu-latest'
126+
uses: codecov/codecov-action@v5
127+
123128
# Pack the output into NuGet packages
124129
pack:
125130
needs: version

0 commit comments

Comments
 (0)