File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,16 @@ jobs:
153
153
run : |
154
154
php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) --fail-on-warning --fail-on-risky $(if vendor/bin/phpunit --version | grep -q '^PHPUnit 9\.'; then echo -v; else echo --fail-on-notice --fail-on-deprecation --display-notices --display-deprecations --display-phpunit-deprecations --display-warnings --display-errors --display-incomplete --display-skipped; fi)
155
155
156
- - name : Upload coverage (only for coverage)
156
+ - name : Upload coverage logs 1/2 (only for coverage)
157
+ if : env.LOG_COVERAGE
158
+ run : |
159
+ ls -l coverage | wc -l
160
+ php -d memory_limit=2G vendor/bin/phpcov merge coverage/ --clover coverage/merged.xml
161
+
162
+ - name : Upload coverage logs 2/2 (only for coverage)
157
163
if : env.LOG_COVERAGE
158
164
uses : codecov/codecov-action@v5
159
165
with :
160
166
token : ${{ secrets.CODECOV_TOKEN }}
161
167
fail_ci_if_error : true
162
- files : coverage/phpunit.cov
168
+ files : coverage/merged.xml
You can’t perform that action at this time.
0 commit comments