Skip to content

Commit

Permalink
Updated CI to test SF 6.2 - 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evertharmeling committed Nov 23, 2023
1 parent f8f2f31 commit de49885
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:

- name: Install the dependencies
run: composer install --no-interaction

- name: Check the coding style
run: vendor/bin/php-cs-fixer fix --diff --dry-run

- name: Analyze the code
run: vendor/bin/phpstan analyze

Expand All @@ -36,12 +38,21 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
symfony: [5.4, 6.0, 6.1]
php: [8.0, 8.1, 8.2]
symfony: [5.4, 6.0, 6.1, 6.2, 6.3, 6.4, 7.0]
exclude:
# Symfony 6.1 does not support php <8.1
- php: 8.0
symfony: 6.1
- php: 8.0
symfony: 6.2
- php: 8.0
symfony: 6.3
- php: 8.0
symfony: 6.4
- php: 8.0
symfony: 7.0
- php: 8.1
symfony: 7.0
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -57,6 +68,7 @@ jobs:
run: |
composer require symfony/framework-bundle:^${{ matrix.symfony }} symfony/http-foundation:^${{ matrix.symfony }}
composer install --no-interaction --no-suggest
- name: Run the unit tests
run: vendor/bin/phpunit --colors=always

Expand All @@ -76,5 +88,6 @@ jobs:

- name: Install the dependencies
run: composer update --prefer-lowest --prefer-stable --no-interaction

- name: Run the unit tests
run: vendor/bin/phpunit --colors=always
run: vendor/bin/phpunit --colors=always

0 comments on commit de49885

Please sign in to comment.