Skip to content

Commit a9d9dc5

Browse files
committed
Test against PHP 8.5
1 parent 5b441b0 commit a9d9dc5

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
@@ -11,19 +11,31 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: [8.2, 8.3, 8.4]
14+
php: [8.2, 8.3, 8.4, 8.5]
1515
composer-options: ["", "--prefer-lowest"]
1616

1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v6
2020

21-
- name: Setup PHP
21+
- name: Setup PHP != 8.5
22+
if: ${{ matrix.php != '8.5' }}
2223
uses: shivammathur/setup-php@v2
2324
with:
2425
php-version: ${{ matrix.php }}
2526
coverage: none
2627

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

0 commit comments

Comments
 (0)