Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,36 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.2, 8.3, 8.4]
symfony: ["5.4.*", "6.4.*", "6.4wApi", "7.3.*"]
php: [8.2, 8.3, 8.4, 8.5]
symfony: ["5.4.*", "6.4.*", "6.4wApi", "7.3.*", "7.4.*"]
env:
only_sf_latest: &only_sf_latest ${{ matrix.symfony == '7.3.*' }}
only_sf_latest: &only_sf_latest ${{ matrix.symfony == '7.4.*' }}

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup PHP != 8.5
if: ${{ matrix.php != '8.5' }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
coverage: none

- name: Setup PHP
- name: Setup PHP 8.5
if: ${{ matrix.php == '8.5' }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
coverage: none
# this ini directive seems to be off by default in PHP 8.5
# see https://github.com/php/php-src/issues/20279
# enable it because codeception relies on it.
ini-values: register_argc_argv=1

- name: Set Symfony version reference
env:
Expand Down