Skip to content

Add PHP 8.1 and 8.2, Symfony 6.2 to CI #1285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Mar 22, 2023
Merged
Changes from 1 commit
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
Next Next commit
Add PHP 8.1 and Symfony 6.1 & .2 to CI
  • Loading branch information
andrewmy committed Mar 20, 2023
commit b9e68a043345b1c00437037e9f722188a413a843
32 changes: 22 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
extensions: mongodb, redis, :xdebug
ini-values: memory_limit=2048M

- run: php ./bin/fix-symfony-version.php "5.2.*"
- run: php ./bin/fix-symfony-version.php "5.4.*"

- uses: "ramsey/composer-install@v1"

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
extensions: mongodb, redis, :xdebug
ini-values: memory_limit=2048M

- run: php ./bin/fix-symfony-version.php "5.2.*"
- run: php ./bin/fix-symfony-version.php "5.4.*"

- run: composer update --no-progress

Expand All @@ -77,14 +77,20 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.3', '7.4', '8.0']
symfony_version: ['5.2.*', '6.0.*']
php: ['7.4', '8.0', '8.1']
symfony_version: ['5.4.*', '6.0.*', '6.1.*', '6.2.*']
dependencies: ['--prefer-lowest', '--prefer-dist']
exclude:
- php: '7.3'
symfony_version: '6.0.*'
- php: '7.4'
symfony_version: '6.0.*'
- php: '7.4'
symfony_version: '6.1.*'
- php: '7.4'
symfony_version: '6.2.*'
- php: '8.0'
symfony_version: '6.1.*'
- php: '8.0'
symfony_version: '6.2.*'

name: PHP ${{ matrix.php }} unit tests on Sf ${{ matrix.symfony_version }}, deps=${{ matrix.dependencies }}

Expand Down Expand Up @@ -123,15 +129,21 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0'] # same as in the container
symfony_version: ['5.2.*', '6.0.*']
php: ['7.4', '8.0', '8.1'] # same as in the container
symfony_version: ['5.4.*', '6.0.*', '6.1.*', '6.2.*']
dependencies: ['--prefer-lowest', '--prefer-dist']
rdkafka_action: ['exclude-group', 'group']
exclude:
- php: '7.3'
symfony_version: '6.0.*'
- php: '7.4'
symfony_version: '6.0.*'
- php: '7.4'
symfony_version: '6.1.*'
- php: '7.4'
symfony_version: '6.2.*'
- php: '8.0'
symfony_version: '6.1.*'
- php: '8.0'
symfony_version: '6.2.*'

name: PHP ${{ matrix.php }} functional tests on Sf ${{ matrix.symfony_version }}, rdkafka_action=${{ matrix.rdkafka_action }}, deps=${{ matrix.dependencies }}

Expand Down