Skip to content

Commit 5f00216

Browse files
Update Codecov.io action(s)
1 parent e73593b commit 5f00216

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,15 @@ jobs:
9999
run: php ./tools/composer update --no-ansi --no-interaction --no-progress
100100

101101
- name: Run tests with PHPUnit
102-
run: vendor/bin/phpunit --coverage-clover=coverage.xml
102+
run: vendor/bin/phpunit --log-junit junit.xml --coverage-clover=coverage.xml
103103

104-
- name: Send code coverage report to Codecov.io
104+
- name: Upload test results to Codecov.io
105+
if: ${{ !cancelled() }}
106+
uses: codecov/test-results-action@v1
107+
with:
108+
token: ${{ secrets.CODECOV_TOKEN }}
109+
110+
- name: Upload code coverage data to Codecov.io
105111
uses: codecov/codecov-action@v4
106112
with:
107113
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)