We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1781f0 commit 887a701Copy full SHA for 887a701
.github/workflows/test.yml
@@ -21,5 +21,12 @@ jobs:
21
steps:
22
- name: Checkout
23
uses: actions/[email protected]
24
- - name: Unit Test
25
- run: dotnet test test/UnitTest
+ - name: Unit Test with Coverage
+ run: dotnet test test/UnitTest --collect:"XPlat Code Coverage" --results-directory ./coverage
26
+ - name: Upload coverage reports to Codecov
27
+ uses: codecov/[email protected]
28
+ with:
29
+ directory: ./coverage
30
+ fail_ci_if_error: false
31
+ env:
32
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
0 commit comments