Skip to content

Commit deb0117

Browse files
committed
chore(ci): test against php 8.5
1 parent c8e59d4 commit deb0117

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,32 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [8.2, 8.3, 8.4]
11+
php: [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
tools: phpstan, phpcs
2324

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

0 commit comments

Comments
 (0)