File tree Expand file tree Collapse file tree 4 files changed +243
-358
lines changed
Expand file tree Collapse file tree 4 files changed +243
-358
lines changed Original file line number Diff line number Diff line change 5151 PHP_CS_FIXER_IGNORE_ENV : true
5252
5353 - name : 🧪 Execute phpunit tests
54- run : make test
54+ uses : php-actions/phpunit@v3
55+ env :
56+ XDEBUG_MODE : coverage
57+ with :
58+ bootstrap : vendor/autoload.php
59+ configuration : phpunit.xml.dist
60+ php_extensions : xdebug
61+ args : tests --coverage-clover ./coverage.xml
5562
5663 - name : 📝 Run static analysis using phpstan
5764 run : make stan
5865
66+ - name : 📤 Upload coverage report to Codecov
67+ uses : codecov/codecov-action@v3
68+ with :
69+ token : ${{ secrets.CODECOV_TOKEN }}
70+ files : ./coverage.xml
71+ verbose : true
72+
5973...
Original file line number Diff line number Diff line change 2525 "phpstan/phpstan-deprecation-rules" : " ^1.1.2" ,
2626 "phpstan/phpstan-phpunit" : " ^1.3.10" ,
2727 "phpstan/phpstan-strict-rules" : " ^1.5.0" ,
28- "phpunit/phpunit" : " ^9.6.5 " ,
28+ "phpunit/phpunit" : " ^10.0.14 " ,
2929 "roave/security-advisories" : " dev-latest"
3030 },
3131 "autoload" : {
You can’t perform that action at this time.
0 commit comments