Skip to content

Commit 7ad5c4c

Browse files
committed
CI: Test PHP 7.2 to 8.4
1 parent b576395 commit 7ad5c4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
15-
php-version: [ '7.2', '7.3', '7.4', '8.0' ]
15+
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
1616
include:
1717
- operating-system: ubuntu-latest
1818
php-version: '7.2'
@@ -38,10 +38,11 @@ jobs:
3838

3939
- name: Run Psalm static code analysis
4040
run: ./vendor/bin/psalm
41+
if: contains('7.2 7.3 7.4 8.0 8.1 8.2 8.3', matrix.php-version)
4142

4243
- name: Run PHPUnit test suite
4344
run: ./vendor/bin/phpunit
4445

4546
- name: Check code coverage
4647
run: ./vendor/bin/coverage-check clover.xml 100
47-
if: matrix.php-version != '8.0'
48+
if: contains('7.2 7.3 7.4', matrix.php-version)

0 commit comments

Comments
 (0)