Skip to content

Commit 0a942fb

Browse files
author
github-actions
committed
ci: Fix Codecov uploads with explicit file paths
- Add files: coverage.xml to codecov-action - Add files: junit.xml to test-results-action - Add fail_ci_if_error and verbose flags for coverage upload
1 parent 36b5337 commit 0a942fb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,13 @@ jobs:
6666
uses: codecov/codecov-action@v5
6767
with:
6868
token: ${{ secrets.CODECOV_TOKEN }}
69+
files: coverage.xml
70+
fail_ci_if_error: true
71+
verbose: true
6972

7073
- name: Upload test results to Codecov
7174
if: ${{ !cancelled() }}
7275
uses: codecov/test-results-action@v1
7376
with:
7477
token: ${{ secrets.CODECOV_TOKEN }}
78+
files: junit.xml

0 commit comments

Comments
 (0)