Skip to content

Commit 23cc8a9

Browse files
authored
Merge pull request #15 from open-source-contributions/add_php81_php82_tests
Add PHP 8.1 and 8.2 version tests
2 parents f0bfd7d + 823e84a commit 23cc8a9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
operating-system: [ ubuntu-latest ]
11-
php-versions: [ '7.2', '7.3', '7.4', '8.0' ]
11+
php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
1212
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
1313

1414
steps:
@@ -34,14 +34,9 @@ jobs:
3434
- name: Validate composer.json and composer.lock
3535
run: composer validate
3636

37-
- name: Install dependencies for PHP 7
38-
if: matrix.php-versions < '8.0'
37+
- name: Install dependencies for PHP
3938
run: composer update --prefer-dist --no-progress
4039

41-
- name: Install dependencies for PHP 8
42-
if: matrix.php-versions >= '8.0'
43-
run: composer update --prefer-dist --no-progress --ignore-platform-reqs
44-
4540
- name: Run test suite
4641
run: composer check
4742
env:

0 commit comments

Comments
 (0)