|
21 | 21 | # - custom_ini: Whether to run with specific custom ini settings to hit very specific
|
22 | 22 | # code conditions.
|
23 | 23 | matrix:
|
24 |
| - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] |
| 24 | + php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] |
25 | 25 | custom_ini: [false]
|
26 | 26 |
|
27 | 27 | include:
|
|
33 | 33 |
|
34 | 34 | name: "PHP: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }}"
|
35 | 35 |
|
36 |
| - continue-on-error: ${{ matrix.php == '8.1' }} |
| 36 | + continue-on-error: ${{ matrix.php == '8.2' }} |
37 | 37 |
|
38 | 38 | steps:
|
39 | 39 | - name: Checkout code
|
@@ -79,14 +79,14 @@ jobs:
|
79 | 79 | run: php bin/phpcs --config-set php_path php
|
80 | 80 |
|
81 | 81 | - name: 'PHPUnit: run the tests'
|
82 |
| - if: ${{ matrix.php != '8.1' }} |
| 82 | + if: ${{ matrix.php != '8.1' && matrix.php != '8.2' }} |
83 | 83 | run: vendor/bin/phpunit tests/AllTests.php
|
84 | 84 |
|
85 | 85 | # We need to ignore the config file so that PHPUnit doesn't try to read it.
|
86 | 86 | # The config file causes an error on PHP 8.1+ with PHPunit 7, but it's not needed here anyway
|
87 | 87 | # as we can pass all required settings in the phpunit command.
|
88 |
| - - name: 'PHPUnit: run the tests on PHP nightly' |
89 |
| - if: ${{ matrix.php == '8.1' }} |
| 88 | + - name: 'PHPUnit: run the tests on PHP > 8.0' |
| 89 | + if: ${{ matrix.php == '8.1' || matrix.php == '8.2' }} |
90 | 90 | run: vendor/bin/phpunit tests/AllTests.php --no-configuration --bootstrap=tests/bootstrap.php --dont-report-useless-tests
|
91 | 91 |
|
92 | 92 | - name: 'PHPCS: check code style without cache, no parallel'
|
|
0 commit comments