Skip to content

Commit b4667f2

Browse files
authored
ci: proper test result publishing
1 parent defb36e commit b4667f2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,17 @@ jobs:
4949
- name: Test
5050
run: dotnet test --no-build --verbosity normal
5151

52-
- name: Codecov
52+
- name: Codecov test results
53+
if: github.event_name != 'merge_group' && !cancelled()
5354
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
5455
with:
5556
use_oidc: true
56-
files: '**/TestResults/*/*.cobertura.xml'
57+
report_type: test_results
5758
fail_ci_if_error: true
5859

59-
- name: Codecov Test
60-
if: github.event_name != 'merge_group' && !cancelled()
61-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
60+
- name: Codecov coverage results
61+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
6262
with:
6363
use_oidc: true
64+
files: '**/TestResults/*/*.cobertura.xml'
6465
fail_ci_if_error: true

0 commit comments

Comments
 (0)