Skip to content

Commit 6ddc8d1

Browse files
committed
Test against PHP 8.5
1 parent f305a7a commit 6ddc8d1

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,29 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
php: [8.2, 8.3, 8.4]
17+
php: [8.2, 8.3, 8.4, 8.5]
1818

1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v6
2222

23-
- name: Setup PHP
23+
- name: Setup PHP != 8.5
24+
if: ${{ matrix.php != '8.5' }}
2425
uses: shivammathur/setup-php@v2
2526
with:
2627
php-version: ${{ matrix.php }}
2728
coverage: none
2829

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

0 commit comments

Comments
 (0)