Skip to content

Commit d9cd58c

Browse files
authored
Test against PHP 8.5 (#24)
* Bump actions/checkout version * Test against PHP 8.5
1 parent 99dce03 commit d9cd58c

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,30 @@ jobs:
1414

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

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
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+
if: ${{ matrix.php == '8.5' }}
32+
uses: shivammathur/setup-php@v2
33+
with:
34+
php-version: ${{ matrix.php }}
35+
coverage: none
36+
# this ini directive seems to be off by default in PHP 8.5
37+
# see https://github.com/php/php-src/issues/20279
38+
# enable it because codeception relies on it.
39+
ini-values: register_argc_argv=1
40+
2941
- name: Validate composer.json and composer.lock
3042
run: composer validate
3143

0 commit comments

Comments
 (0)