Skip to content

Commit decef18

Browse files
committed
upload coverage
1 parent 834c0e3 commit decef18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ jobs:
119119
- name: Test
120120
run: |
121121
dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage" --logger "GitHubActions;summary.includeSkippedTests=true" -- RunConfiguration.CollectSourceInformation=true DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.DeterministicReport=true
122+
- name: Upload coverage to artifacts
123+
if: matrix.os == 'ubuntu-latest'
124+
uses: actions/upload-artifact@v3
125+
with:
126+
name: coverage
127+
path: '**/coverage.cobertura.xml'
122128
- name: Upload coverage to codecov.io
123129
# TODO: Why does codecov report 3.83% decreased coverage?
124130
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)