File tree Expand file tree Collapse file tree 1 file changed +31
-7
lines changed Expand file tree Collapse file tree 1 file changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,17 @@ jobs:
1313
1414 strategy :
1515 fail-fast : true
16- matrix :
17- php : ['8.1']
1816
19- name : PHP ${{ matrix.php }}
17+ name : PHP 8.1
2018
2119 steps :
2220 - name : Checkout
23- uses : actions/checkout@v2
21+ uses : actions/checkout@v3
2422
2523 - name : Setup PHP
2624 uses : shivammathur/setup-php@v2
2725 with :
28- php-version : ${{ matrix.php }}
26+ php-version : 8.1
2927 tools : composer
3028 coverage : xdebug
3129
4745
4846 - name : PHPStan
4947 run :
50- vendor/bin/phpstan analyse -vvv
48+ vendor/bin/phpstan analyse --xdebug - vvv
5149
5250 - name : PHPUnit
5351 run : vendor/bin/phpunit --verbose
6058 cp build/coverage/clover.xml build/logs/clover.xml
6159 composer global require php-coveralls/php-coveralls
6260 php-coveralls --coverage_clover=build/logs/clover.xml -v
63- if : matrix.php == '8.1'
61+
62+ tests-last :
63+ runs-on : ubuntu-20.04
64+ timeout-minutes : 10
65+
66+ strategy :
67+ fail-fast : true
68+
69+ name : PHP 8.2 - Last
70+
71+ steps :
72+ - name : Checkout
73+ uses : actions/checkout@v3
74+
75+ - name : Setup PHP
76+ uses : shivammathur/setup-php@v2
77+ with :
78+ php-version : 8.2
79+ tools : composer
80+ coverage : xdebug
81+
82+ - name : Install dependencies
83+ run :
84+ composer update
85+
86+ - name : PHPUnit
87+ run : vendor/bin/phpunit --verbose
You can’t perform that action at this time.
0 commit comments