File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - ' 8.3'
1818 - ' 8.4'
1919 - ' 8.5'
20+ - ' 8.6'
2021 name : " PHP: ${{ matrix.php-versions }}"
2122
22- continue-on-error : ${{ matrix.php-versions == '8.5 ' }}
23+ continue-on-error : ${{ matrix.php-versions == '8.6 ' }}
2324
2425 steps :
2526 - name : Checkout
@@ -35,19 +36,13 @@ jobs:
3536
3637 # Install dependencies and handle caching in one go.
3738 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
38- - name : " Install Composer dependencies (PHP < 8.5)"
39- if : ${{ matrix.php-versions < '8.5' }}
39+ - name : Install Composer dependencies
4040 uses : " ramsey/composer-install@v3"
4141 with :
42+ # For PHP "nightly", we need to install with ignore platform reqs as not all dependencies may allow it yet.
43+ composer-options : ${{ matrix.php == '8.6' && '--ignore-platform-req=php+' || '' }}
4244 # Bust the cache at least once a month - output format: YYYY-MM.
4345 custom-cache-suffix : $(date -u "+%Y-%m")
4446
45- - name : " Install Composer dependencies (PHP 8.5)"
46- if : ${{ matrix.php-versions >= '8.5' }}
47- uses : " ramsey/composer-install@v3"
48- with :
49- composer-options : --ignore-platform-reqs
50- custom-cache-suffix : $(date -u "+%Y-%m")
51-
5247 - name : Run tests
5348 run : vendor/bin/phpunit tests
You can’t perform that action at this time.
0 commit comments