Skip to content

Commit c6db4d1

Browse files
authored
Update Codecov with test results, token (#43)
1 parent de35ed8 commit c6db4d1

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,17 @@ jobs:
7171
- name: PHPUnit
7272
run: vendor/bin/phpunit
7373
--coverage-clover coverage.xml
74+
--log-junit junit.xml
7475

75-
- name: Submit code coverage
76-
if: ${{ always() }}
77-
uses: codecov/codecov-action@v5
76+
- name: Upload coverage reports to Codecov
77+
if: ${{ !cancelled() }}
78+
uses: codecov/codecov-action@v6
79+
with:
80+
token: ${{ secrets.CODECOV_TOKEN }}
81+
82+
- name: Upload test reports to Codecov
83+
if: ${{ !cancelled() }}
84+
uses: codecov/codecov-action@v6
85+
with:
86+
token: ${{ secrets.CODECOV_TOKEN }}
87+
report_type: test_results

0 commit comments

Comments
 (0)