Skip to content

Commit 68d6b4d

Browse files
committed
chore(ci): add php8.5
1 parent 460e392 commit 68d6b4d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

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

1313
steps:
1414
- name: Checkout code
@@ -19,6 +19,10 @@ jobs:
1919
with:
2020
php-version: ${{ matrix.php }}
2121
coverage: none
22+
# this ini directive seems to be off by default in PHP 8.5
23+
# see https://github.com/php/php-src/issues/20279
24+
# enable it because codeception relies on it.
25+
ini-values: register_argc_argv=1
2226

2327
- name: Validate composer.json and composer.lock
2428
run: composer validate

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
php: [ 8.1, 8.2, 8.3, 8.4 ]
12+
php: [ 8.1, 8.2, 8.3, 8.4, 8.5 ]
1313

1414
steps:
1515
- name: Checkout code
@@ -20,6 +20,10 @@ jobs:
2020
with:
2121
php-version: ${{ matrix.php }}
2222
coverage: none
23+
# this ini directive seems to be off by default in PHP 8.5
24+
# see https://github.com/php/php-src/issues/20279
25+
# enable it because codeception relies on it.
26+
ini-values: register_argc_argv=1
2327

2428
- name: Validate composer.json and composer.lock
2529
run: composer validate

0 commit comments

Comments
 (0)