Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
ci: Fix ci to run on symfony 7 using php matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
aszenz committed Jan 26, 2024
1 parent 26f9044 commit edbdf0a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
symfony-version:
- '^5.4'
- '^6.0'
- '^7.0'
php-version:
- '8.0'
- '8.1'
- '8.2'
exclude:
- symfony-version: '^5.4'
php-version: '8.2'
- symfony-version: '^7.0'
php-version: '8.0'
- symfony-version: '^7.0'
php-version: '8.1'
steps:
- name: 'Checkout code'
uses: actions/[email protected]
Expand All @@ -22,13 +34,13 @@ jobs:
uses: shivammathur/[email protected]
with:
coverage: none
php-version: '8.0'
php-version: ${{ matrix.php-version }}
tools: composer:v2
extensions: mbstring
ini-values: date.timezone=UTC

- name: 'Configure Symfony version'
run: composer require --dev --no-update "symfony/symfony:${{ matrix.symfony-version }}"
run: composer require --dev --no-update "symfony/yaml:${{ matrix.symfony-version }}"

- name: 'Install project dependencies'
run: composer update --prefer-dist --prefer-stable
Expand Down

0 comments on commit edbdf0a

Please sign in to comment.