Skip to content

Commit 5b660ae

Browse files
committed
Merge branch 'feature/ghactions-php-8.1-has-been-released' of https://github.com/jrfnl/PHP_CodeSniffer
2 parents 586a51f + 1fdb1e6 commit 5b660ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# - custom_ini: Whether to run with specific custom ini settings to hit very specific
2222
# code conditions.
2323
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']
2525
custom_ini: [false]
2626

2727
include:
@@ -33,7 +33,7 @@ jobs:
3333

3434
name: "PHP: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }}"
3535

36-
continue-on-error: ${{ matrix.php == '8.1' }}
36+
continue-on-error: ${{ matrix.php == '8.2' }}
3737

3838
steps:
3939
- name: Checkout code
@@ -79,14 +79,14 @@ jobs:
7979
run: php bin/phpcs --config-set php_path php
8080

8181
- name: 'PHPUnit: run the tests'
82-
if: ${{ matrix.php != '8.1' }}
82+
if: ${{ matrix.php != '8.1' && matrix.php != '8.2' }}
8383
run: vendor/bin/phpunit tests/AllTests.php
8484

8585
# We need to ignore the config file so that PHPUnit doesn't try to read it.
8686
# The config file causes an error on PHP 8.1+ with PHPunit 7, but it's not needed here anyway
8787
# 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' }}
9090
run: vendor/bin/phpunit tests/AllTests.php --no-configuration --bootstrap=tests/bootstrap.php --dont-report-useless-tests
9191

9292
- name: 'PHPCS: check code style without cache, no parallel'

0 commit comments

Comments
 (0)