File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 3
3
/.gitattributes export-ignore
4
4
/.gitignore export-ignore
5
5
/.php-cs-fixer.dist.php export-ignore
6
+ /codecov.yml export-ignore
6
7
/phpstan.neon.dist export-ignore
7
8
/phpunit.xml.dist export-ignore
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)
157
- if : env.LOG_COVERAGE && false # TODO
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)
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
Original file line number Diff line number Diff line change
1
+ comment : false
2
+ coverage :
3
+ status :
4
+ project :
5
+ default :
6
+ target : auto
7
+ threshold : 0.025
8
+ patch : false
9
+ changes : false
You can’t perform that action at this time.
0 commit comments