Skip to content

actually apply the symfony version constraint #20

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 1 commit into from
Dec 6, 2021
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ on:

jobs:
latest:
name: PHP ${{ matrix.php }} Latest with Symfony ${{ matrix.symfony-require }}
name: PHP ${{ matrix.php }} Latest with Symfony ${{ matrix.symfony-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.3', '7.4', '8.0']
symfony-require: ['*']
symfony-version: ['*']
include:
- php: '7.4'
symfony-require: 3.4.*
symfony-version: 3.4.*
- php: '7.4'
symfony-require: 4.4.*
symfony-version: 4.4.*
- php: '8.0'
symfony-require: 5.4.*
symfony-version: 5.4.*

steps:
- name: Checkout code
Expand All @@ -37,9 +37,9 @@ jobs:
- name: Composer validate
run: composer validate --strict --no-check-lock

- name: Globally install symfony/flex
if: matrix.symfony-require != '*'
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex
- name: Symfony version
if: matrix.symfony-version != '*'
run: composer global require --no-progress symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version }}

- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
Expand Down