Skip to content

Commit a00c83f

Browse files
committed
fix(ci/test): correct codecov-action configuration for coverage and test results
Explicitly set report types and switch to the unified codecov-action@v5 for test results. This ensures that both coverage and test result reports are correctly identified and processed by Codecov, resolving issues where reports might have been misclassified or failed to upload using the previous standalone action.
1 parent fd24e01 commit a00c83f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

template/.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ jobs:
7171
name: Upload Coverage
7272
uses: codecov/codecov-action@v5
7373
with:
74+
report_type: coverage
7475
use_oidc: true
7576
- if: success() || failure()
7677
name: Upload Test Results
77-
uses: codecov/test-results-action@v1
78+
uses: codecov/codecov-action@v5
7879
with:
80+
report_type: test_results
7981
use_oidc: true
8082
strategy:
8183
matrix:

0 commit comments

Comments
 (0)