Skip to content

Commit 97fdd4b

Browse files
committed
Add PHP 8.2 & 8.3
1 parent 687a1d6 commit 97fdd4b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
- 7.4
4646
- 8.0
4747
- 8.1
48+
- 8.2
49+
- 8.3
4850
dependencies_level:
4951
- --prefer-lowest
5052
- ""
@@ -74,15 +76,15 @@ jobs:
7476
key: "cache-composer-${{ hashFiles('composer.json') }}"
7577
restore-keys: 'cache-composer-'
7678
- name: Run composer
77-
if: ${{ matrix.php_version != '8.0' && matrix.php_version != '8.1' }}
79+
if: ${{ matrix.php_version != '8.0' && matrix.php_version != '8.1' && matrix.php_version != '8.2' && matrix.php_version != '8.3' }}
7880
run: composer update ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress
7981
- name: Run composer with workaround for PHP 8 and incompatible PHPUnit
80-
if: ${{ matrix.php_version == '8.0' || matrix.php_version == '8.1' }}
82+
if: ${{ matrix.php_version == '8.0' || matrix.php_version == '8.1' || matrix.php_version == '8.2' || matrix.php_version == '8.3' }}
8183
run: composer update ${{ matrix.dependencies_level }} --ignore-platform-reqs --prefer-dist --no-interaction --no-progress
8284
- name: Check composer.json
8385
run: composer normalize --dry-run
8486
- name: Run tests with coverage
85-
if: ${{ matrix.php_version != '8.0' && matrix.php_version != '8.1' }}
87+
if: ${{ matrix.php_version != '8.0' && matrix.php_version != '8.1' && matrix.php_version != '8.2' && matrix.php_version != '8.3' }}
8688
run: php vendor/bin/phpunit --coverage-clover=coverage.xml
8789
- name: Run tests
8890
if: ${{ matrix.php_version == '8.0' }}

0 commit comments

Comments
 (0)