File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 3636 restore-keys : dependencies-${{ matrix.php }}-${{ matrix.stability }}-composer-
3737 - name : Install dependencies
3838 run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction
39- # - name: Check coding style
40- # run: php-cs-fixer fix --dry-run --allow-risky=true --format=checkstyle | cs2pr
39+ - name : Check coding style
40+ run : composer run style:check -- --format=checkstyle | cs2pr
41+ - name : Check static analysis
42+ run : composer run analyze -- --error-format=checkstyle | cs2pr
4143 - name : Configure matchers for PHPUnit
4244 uses : mheap/phpunit-matcher-action@v1
43- - name : Run PHP tests via PHPUnit
44- run : vendor/bin/pest --teamcity
45+ - name : Run PHP tests
46+ run : composer run tests:ci
Original file line number Diff line number Diff line change 3030 "mockery/mockery" : " ^1.4.4" ,
3131 "orchestra/testbench" : " ^9.0" ,
3232 "pestphp/pest" : " ^2.28" ,
33- "phpstan/phpstan" : " ^2.0"
33+ "phpstan/phpstan" : " ^2.0" ,
34+ "staabm/annotate-pull-request-from-checkstyle" : " ^1.8"
3435 },
3536 "autoload" : {
3637 "psr-4" : {
5354 "tests" : [
5455 " rm -rf build" ,
5556 " XDEBUG_MODE=coverage php vendor/bin/pest"
57+ ],
58+ "tests:ci" : [
59+ " vendor/bin/pest --teamcity"
5660 ]
5761 },
5862 "extra" : {
You can’t perform that action at this time.
0 commit comments