File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -222,12 +222,20 @@ jobs:
222
222
run : ./tools/composer install --no-ansi --no-interaction --no-progress
223
223
224
224
- name : Collect code coverage with PHPUnit
225
- run : ./phpunit --coverage-clover=coverage.xml
225
+ run : ./phpunit --log-junit test-results.xml -- coverage-clover=code- coverage.xml
226
226
227
- - name : Send code coverage report to Codecov.io
227
+ - name : Upload test results to Codecov.io
228
+ if : ${{ !cancelled() }}
229
+ uses : codecov/test-results-action@v1
230
+ with :
231
+ token : ${{ secrets.CODECOV_TOKEN }}
232
+ files : ./test-results.xml
233
+
234
+ - name : Upload code coverage data to Codecov.io
228
235
uses : codecov/codecov-action@v4
229
236
with :
230
237
token : ${{ secrets.CODECOV_TOKEN }}
238
+ files : ./code-coverage.xml
231
239
232
240
build-phar :
233
241
name : Build PHAR
You can’t perform that action at this time.
0 commit comments