|
36 | 36 | matrix: |
37 | 37 | # All the versions, OS, and dependency levels we want to support |
38 | 38 | os: [ubuntu] # TODO: windows, macos |
39 | | - php: [ '8.1', '8.2', '8.3', '8.4' ] |
| 39 | + php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ] |
40 | 40 | dependency: [ stable ] |
41 | 41 | # Our code has paths for with- and without- XDebug, and we want to test |
42 | 42 | # both of them. |
@@ -73,22 +73,21 @@ jobs: |
73 | 73 | key: ${{ matrix.os }}-composer-${{ hashFiles('**/composer.json') }}-${{ matrix.dependency }}- |
74 | 74 | restore-keys: ${{ matrix.os }}-composer-${{ matrix.dependency }}- |
75 | 75 |
|
76 | | - - name: Install dependencies PHP < 8.4 |
77 | | - if: matrix.php != '8.4' |
| 76 | + - name: Install dependencies PHP < 8.5 |
| 77 | + if: matrix.php != '8.5' |
78 | 78 | run: composer update --prefer-${{ matrix.dependency }} --prefer-dist --no-interaction |
79 | 79 |
|
80 | | - - name: Execute tests PHP < 8.4 |
81 | | - if: matrix.php != '8.4' |
| 80 | + - name: Execute tests PHP < 8.5 |
| 81 | + if: matrix.php != '8.5' |
82 | 82 | run: composer test |
83 | 83 |
|
84 | | - # This is a temporary workaround until vimeo/psalm is updated to support PHP 8.4. |
85 | | - # See https://github.com/vimeo/psalm/issues/11107 |
86 | | - - name: Install dependencies PHP 8.4 |
87 | | - if: matrix.php == '8.4' |
| 84 | + # This is a temporary workaround until vimeo/psalm is updated to support PHP 8.5. |
| 85 | + - name: Install dependencies PHP 8.5 |
| 86 | + if: matrix.php == '8.5' |
88 | 87 | run: composer update --prefer-${{ matrix.dependency }} --prefer-dist --no-interaction --ignore-platform-reqs |
89 | 88 |
|
90 | | - - name: Execute tests PHP 8.4 |
91 | | - if: matrix.php == '8.4' |
| 89 | + - name: Execute tests PHP 8.5 |
| 90 | + if: matrix.php == '8.5' |
92 | 91 | run: | |
93 | 92 | ./vendor/bin/phpcs --standard=PSR2 ./src ./tests |
94 | 93 | ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml |
0 commit comments