Skip to content

Commit 35fbaf3

Browse files
committed
Don't test Symfony 7.x on PHP <8.2
1 parent 97c408f commit 35fbaf3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
#Stable supported versions
1817
php: ['8.1', '8.2', '8.3']
1918
symfony: ['5.4.*', '6.4.*', '7.0.*']
2019
composer-flags: ['--prefer-stable']
2120
can-fail: [false]
21+
exclude:
22+
- php: "8.1"
23+
symfony: "7.0.*"
2224

2325
name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"
2426

@@ -29,9 +31,8 @@ jobs:
2931
- name: "checkout"
3032
uses: "actions/checkout@v4"
3133

32-
- name: "build the PHP8 environment"
34+
- name: "build the PHP environment"
3335
run: "dev/bin/docker-compose build --build-arg PHP_VERSION=${{ matrix.php }} --build-arg XDEBUG_VERSION='3.3.1' php"
34-
if: startsWith(matrix.php, '8')
3536

3637
- name: "install dependencies"
3738
run: "dev/bin/php composer update --ansi ${{ matrix.composer-flags }}"

0 commit comments

Comments
 (0)