Skip to content

Commit 0fc6b62

Browse files
committed
GH Actions: update for the release of PHP 8.1
Don't allow PHP 8.1 to fail anymore and start testing against PHP 8.2.
1 parent ec8fc2d commit 0fc6b62

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/run-tests.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
php: ['8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
28+
php: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
2929
dependency-version: ['prefer-stable']
3030
experimental: [false]
3131

@@ -39,8 +39,11 @@ jobs:
3939
- php: '8.0'
4040
dependency-version: 'prefer-lowest'
4141
experimental: false
42-
4342
- php: '8.1'
43+
dependency-version: 'prefer-lowest'
44+
experimental: false
45+
46+
- php: '8.2'
4447
dependency-version: 'prefer-stable'
4548
experimental: true
4649

@@ -69,12 +72,12 @@ jobs:
6972
run: composer require --no-update phpunit/phpunit:"^9.0" --no-interaction
7073

7174
- name: Install dependencies - normal
72-
if: ${{ matrix.php < 8.1 }}
75+
if: ${{ matrix.php < 8.2 }}
7376
run: |
7477
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction
7578
7679
- name: Install dependencies - ignore platform reqs
77-
if: ${{ matrix.php >= 8.1 }}
80+
if: ${{ matrix.php >= 8.2 }}
7881
run: |
7982
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-reqs --no-interaction
8083

0 commit comments

Comments
 (0)