@@ -23,18 +23,18 @@ jobs:
2323 # Keys:
2424 # - coverage: Whether to run the tests with code coverage.
2525 matrix :
26- php : ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.5 ']
26+ php : ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.6 ']
2727 coverage : [false]
2828
2929 include :
3030 # Run code coverage on low/high PHP.
3131 - php : ' 5.6'
3232 coverage : true
33- - php : ' 8.4 '
33+ - php : ' 8.5 '
3434 coverage : true
3535
3636 name : " Test: PHP ${{ matrix.php }}"
37- continue-on-error : ${{ matrix.php == '8.5 ' }}
37+ continue-on-error : ${{ matrix.php == '8.6 ' }}
3838
3939 steps :
4040 - name : Checkout code
@@ -61,21 +61,14 @@ jobs:
6161
6262 # Install dependencies and handle caching in one go.
6363 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
64- - name : Install Composer dependencies - normal
65- if : ${{ matrix.php != '8.5' }}
64+ - name : Install Composer dependencies
6665 uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
6766 with :
67+ # For PHP "nightly", we need to install with ignore platform reqs as not all dependencies may allow it yet.
68+ composer-options : ${{ matrix.php == '8.6' && '--ignore-platform-req=php+' || '' }}
6869 # Bust the cache at least once a month - output format: YYYY-MM.
6970 custom-cache-suffix : $(date -u "+%Y-%m")
7071
71- # For PHP "nightly", we need to install with ignore platform reqs.
72- - name : Install Composer dependencies - with ignore platform
73- if : ${{ matrix.php == '8.5' }}
74- uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
75- with :
76- composer-options : " --ignore-platform-req=php+"
77- custom-cache-suffix : $(date -u "+%Y-%m")
78-
7972 - name : Setup problem matcher to provide annotations for PHPUnit
8073 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8174
0 commit comments