Skip to content

Commit 80a7a82

Browse files
committed
Exclude Symfony 7 on php8.1
1 parent d7ee249 commit 80a7a82

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/unit-tests.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
php: [8.1, 8.2, 8.3, 8.4]
14-
symfony: [^5, ^6, ^7]
15-
glide: [^2, ^3]
16-
dependency-version: [prefer-lowest, prefer-stable]
13+
php-version: [8.1, 8.2, 8.3, 8.4]
14+
symfony-version: [^5, ^6, ^7]
15+
glide-version: [^2, ^3]
16+
dependencies: [lowest, stable]
17+
exclude:
18+
- php: 8.1
19+
symfony: ^7
1720
steps:
1821
- name: Checkout
1922
uses: actions/checkout@v2
2023
- name: Install PHP
2124
uses: shivammathur/setup-php@v2
2225
with:
23-
php-version: ${{ matrix.php }}
26+
php-version: ${{ matrix.php-version }}
2427
- name: Install dependencies
2528
run: |
26-
composer require "symfony/http-foundation:${{ matrix.symfony }}" "league/glide:${{ matrix.glide }}" --no-interaction --no-update
27-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest --with-all-dependencies
29+
composer require "symfony/http-foundation:${{ matrix.symfony-version }}" "league/glide:${{ matrix.glide-version }}" --no-interaction --no-update
30+
composer update --prefer-${{ matrix.dependencies }} --prefer-dist --no-interaction --no-suggest --with-all-dependencies
2831
- name: PHPUnit
2932
run: php vendor/bin/phpunit

0 commit comments

Comments
 (0)