File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1818 - ' 8.2'
1919 - ' 8.3'
2020 - ' 8.4'
21- include :
22- - php : ' 8.4'
23- latest : true
2421 fail-fast : false
2522 steps :
2623 - uses : actions/checkout@v4
@@ -50,34 +47,34 @@ jobs:
5047 sudo chown -R $(whoami):$(whoami) .
5148
5249 - name : Install dependencies
53- if : matrix.latest
50+ if : " matrix.php == '8.4' "
5451 run : composer install --prefer-dist --no-interaction --no-progress --ansi
5552
5653 - name : Update dependencies
57- if : ' ! matrix.latest '
54+ if : " matrix.php != '8.4' "
5855 run : composer update --no-interaction --no-progress --ansi
5956
6057 - name : Enable code coverage
61- if : matrix.latest
58+ if : " matrix.php == '8.4' "
6259 run : echo "COVERAGE=1" >> $GITHUB_ENV
6360
6461 - name : Run PHPUnit
6562 run : vendor/bin/phpunit ${{ matrix.latest && '--coverage-clover build/logs/phpunit/clover.xml' || '' }}
6663
6764 - name : Run PHP CS Fixer
68- if : matrix.latest
65+ if : " matrix.php == '8.3' "
6966 run : php-cs-fixer fix --dry-run --format=checkstyle --ansi | cs2pr
7067
7168 - name : Run PHPStan
72- if : matrix.latest
69+ if : " matrix.php == '8.4' "
7370 run : vendor/bin/phpstan analyse --ansi
7471
7572 - name : Run e2e tests
76- if : matrix.latest
73+ if : " matrix.php == '8.4' "
7774 run : bin/compile
7875
7976 - name : Upload coverage results to Coveralls
80- if : matrix.latest
77+ if : " matrix.php == '8.4' "
8178 env :
8279 COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8380 run : |
You can’t perform that action at this time.
0 commit comments