Skip to content

Commit

Permalink
chore(ci): remove symfony 4 support in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgirard committed Mar 6, 2024
1 parent ee4edaf commit a9209c2
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,44 @@ name: Continuous Integration
on: [push, pull_request]

jobs:
tests:
name: Tests
tests-old-versions:
name: Tests old versions
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1' ]
symfony-version: ['^4.4', '^5.0']
php-version: ['7.4', '8.0', '8.1', '8.2' , '8.3' ]
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug2
extensions: amqp
extensions: amqp-2
- name: Install symfony v5.4
env:
SYMFONY_VERSION: '^5.4'
run: composer require symfony/symfony:$SYMFONY_VERSION --no-update
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Unit tests
run: bin/atoum

tests-current-versions:
name: Tests current versions
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: ['8.2' , '8.3' ]
symfony-version: ['^6.4', '^7.0']
fail-fast: false
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug2
extensions: amqp-2
- name: Install symfony version from matrix
env:
SYMFONY_VERSION: ${{ matrix.symfony-version }}
Expand Down

0 comments on commit a9209c2

Please sign in to comment.