1414 fail-fast : false
1515 matrix :
1616 operating-system : ['ubuntu-latest']
17- php : ['7.4', '8.0', '8.1', '8.2', '8.3']
17+ php : ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
1818
1919 steps :
2020 - name : Checkout
@@ -23,18 +23,27 @@ jobs:
2323 fetch-depth : 2
2424
2525 - name : Setup PHP with composer and extensions
26+ if : ${{ matrix.php =< '8.3' }}
2627 uses : shivammathur/setup-php@v2 # https://github.com/shivammathur/setup-php
2728 with :
2829 php-version : ${{ matrix.php }}
2930 coverage : xdebug
3031 tools : none
3132
33+ - name : Setup PHP with composer and extensions (PHP 8.4)
34+ if : ${{ matrix.php >= '8.4' }}
35+ uses : shivammathur/setup-php@v2 # https://github.com/shivammathur/setup-php
36+ with :
37+ php-version : ${{ matrix.php }}
38+ coverage : none
39+ tools : none
40+
3241 - name : " Install Composer dependencies"
33- if : ${{ matrix.php < '8.3' }}
42+ if : ${{ matrix.php = < '8.3' }}
3443 uses : " ramsey/composer-install@v2"
3544
36- - name : " Install Composer dependencies (PHP 8.3 )"
37- if : ${{ matrix.php >= '8.3 ' }}
45+ - name : " Install Composer dependencies (PHP 8.4 )"
46+ if : ${{ matrix.php >= '8.4 ' }}
3847 uses : " ramsey/composer-install@v2"
3948 with :
4049 composer-options : --ignore-platform-reqs
4352 run : composer run phpunit -- --coverage-clover .phpunit.cache/clover.xml
4453
4554 - name : Upload coverage reports to Codecov
46- if : ${{ success() && matrix.php == '8.2 ' }}
55+ if : ${{ success() && matrix.php == '8.3 ' }}
4756 uses : codecov/codecov-action@v3
4857 env :
4958 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
0 commit comments