Skip to content

Commit a0b6a1a

Browse files
committed
Test against PHP 8.5
1 parent e8e4ed4 commit a0b6a1a

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
php: [8.2, 8.3, 8.4]
9+
php: [8.2, 8.3, 8.4, 8.5]
1010
symfony: ["5.4.*", "6.4.*", "6.4wApi", "7.3.*", "7.4.*"]
1111
env:
1212
only_sf_latest: &only_sf_latest ${{ matrix.symfony == '7.4.*' }}
@@ -15,14 +15,28 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
1717

18-
- name: Setup PHP
18+
- name: Setup PHP != 8.5
19+
if: ${{ matrix.php != '8.5' }}
1920
uses: shivammathur/setup-php@v2
2021
with:
2122
php-version: ${{ matrix.php }}
2223
tools: composer:v2
2324
extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
2425
coverage: none
2526

27+
- name: Setup PHP 8.5
28+
if: ${{ matrix.php == '8.5' }}
29+
uses: shivammathur/setup-php@v2
30+
with:
31+
php-version: ${{ matrix.php }}
32+
tools: composer:v2
33+
extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
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+
2640
- name: Set Symfony version reference
2741
env:
2842
MATRIX_SYMFONY: ${{ matrix.symfony }}

0 commit comments

Comments
 (0)