Skip to content

Commit 329d120

Browse files
committed
ci(unit-tests): Upload test results to Codecov
1 parent 77bdd87 commit 329d120

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/_unit_tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,20 @@ jobs:
4747
with:
4848
paths: artifacts/test-results/**/results.xml
4949

50+
-
51+
name: Upload Coverage
52+
uses: codecov/codecov-action@v5
53+
if: success() && github.event_name != 'pull_request' && github.repository_owner == 'GitTools' && github.ref_name == 'main' && matrix.dotnet_version == '10.0'
54+
with:
55+
files: artifacts/test-results/**/results.xml
56+
report_type: 'test_results'
57+
use_oidc: true
58+
5059
-
5160
name: Upload Coverage
5261
uses: codecov/codecov-action@v5
5362
if: success() && github.event_name != 'pull_request' && github.repository_owner == 'GitTools' && github.ref_name == 'main' && matrix.dotnet_version == '10.0'
5463
with:
5564
directory: artifacts/test-results
65+
report_type: 'coverage'
5666
use_oidc: true

0 commit comments

Comments
 (0)