Skip to content

Commit 8d8a414

Browse files
committed
test symf require
1 parent 9dd1312 commit 8d8a414

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
5858

5959
test:
60-
name: "PHP ${{ matrix.php-version }} + @${{ matrix.symfony-version }} ${{ matrix.dependency-versions }} deps"
60+
name: "PHP ${{ matrix.php-version }} + @${{ matrix.symfony-require }} ${{ matrix.dependency-versions }} deps"
6161

6262
runs-on: ubuntu-18.04
6363

@@ -83,15 +83,15 @@ jobs:
8383
- 1337:1337
8484

8585
env:
86-
SYMFONY_VERSION: ${{ matrix.symfony-version }}
86+
SYMFONY_REQUIRE: ${{ matrix.symfony-require }}
8787
MAKER_ALLOW_DEV_DEPS_IN_APP: ${{ matrix.allow-dev-deps-in-apps }}
8888

8989
strategy:
9090
fail-fast: false
9191
matrix:
9292
php-version:
9393
- '8.1'
94-
symfony-version:
94+
symfony-require:
9595
- '5.4.*'
9696
- '5.4.x-dev'
9797
- '6.0.x-dev'
@@ -102,11 +102,11 @@ jobs:
102102
include:
103103
# testing lowest PHP version with LTS
104104
- php-version: '8.0.0'
105-
symfony-version: '5.4.*'
105+
symfony-require: '5.4.*'
106106
dependency-versions: 'lowest'
107107
# testing lowest php version with highest 5.x stable
108108
- php-version: '8.0.0'
109-
symfony-version: '5.4.*'
109+
symfony-require: '5.4.*'
110110
dependency-versions: 'highest'
111111

112112
steps:
@@ -135,6 +135,12 @@ jobs:
135135
- name: "Add PHPUnit matcher"
136136
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
137137

138+
- name: "Allow the Flex Plugin"
139+
run: composer global config --no-plugins allow-plugins.symfony/flex true
140+
141+
- name: "Require symfony/flex"
142+
run: composer global require --no-progress --no-scripts symfony/flex
143+
138144
- name: "Composer install"
139145
uses: "ramsey/composer-install@v1"
140146
with:

0 commit comments

Comments
 (0)