Skip to content

Commit aadb35a

Browse files
committed
[TASK] Add PHP 8.2 to test matrix
1 parent b2a62cf commit aadb35a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
16+
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1717

1818
steps:
1919
- uses: actions/checkout@v2
@@ -32,7 +32,13 @@ jobs:
3232
find src/ tests/ -name '*.php' -print0 | xargs -0 -n1 -P4 php -dxdebug.mode=off -l >/dev/null
3333
3434
- name: Install dependencies
35+
if: ${{ matrix.php <= '8.1' }}
3536
run: composer update
3637

38+
- name: Install dependencies PHP 8.2
39+
# @todo: Needed until prophecy (req by phpunit) allows PHP 8.2, https://github.com/phpspec/prophecy/issues/556
40+
if: ${{ matrix.php > '8.1' }}
41+
run: composer update --ignore-platform-req=php+
42+
3743
- name: Run test suite
3844
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)