Skip to content

Commit 1686810

Browse files
committed
Test against latest PHP versions
1 parent 6d0e3f9 commit 1686810

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,30 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [8.0, 8.1, 8.2]
11+
php: [8.0, 8.1, 8.2, 8.3, 8.4, 8.5]
1212

1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v6
1616

17-
- name: Setup PHP
17+
- name: Setup PHP != 8.5
18+
if: ${{ matrix.php != '8.5' }}
1819
uses: shivammathur/setup-php@v2
1920
with:
2021
php-version: ${{ matrix.php }}
2122
coverage: none
2223

24+
- name: Setup PHP 8.5
25+
if: ${{ matrix.php == '8.5' }}
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
coverage: none
30+
# this ini directive seems to be off by default in PHP 8.5
31+
# see https://github.com/php/php-src/issues/20279
32+
# enable it because codeception relies on it.
33+
ini-values: register_argc_argv=1
34+
2335
- name: Validate composer.json and composer.lock
2436
run: composer validate
2537

0 commit comments

Comments
 (0)