File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,19 @@ jobs:
161
161
run : php ./tools/composer update --no-ansi --no-interaction --no-progress
162
162
163
163
- name : Run tests with PHPUnit
164
- run : vendor/bin/phpunit --coverage-clover=coverage.xml
164
+ run : vendor/bin/phpunit --log-junit test-results.xml -- coverage-clover=code- coverage.xml
165
165
166
- - name : Send code coverage report to Codecov.io
166
+ - name : Upload test results to Codecov.io
167
+ if : ${{ !cancelled() }}
168
+ uses : codecov/test-results-action@v1
169
+ with :
170
+ token : ${{ secrets.CODECOV_TOKEN }}
171
+ disable_search : true
172
+ files : ./test-results.xml
173
+
174
+ - name : Upload code coverage data to Codecov.io
167
175
uses : codecov/codecov-action@v4
168
176
with :
169
177
token : ${{ secrets.CODECOV_TOKEN }}
178
+ disable_search : true
179
+ files : ./code-coverage.xml
You can’t perform that action at this time.
0 commit comments