Skip to content

Commit e5f3caf

Browse files
committed
fix: SYMFONY_REQUIRE env was not setup properly
1 parent 4a966c2 commit e5f3caf

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: "PHPUnit"
1616
runs-on: "${{ matrix.os }}"
1717
env:
18-
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
18+
SYMFONY_REQUIRE: ${{matrix.symfony-version}}
1919

2020
strategy:
2121
matrix:
@@ -26,13 +26,11 @@ jobs:
2626
- "8.0"
2727
- "8.1"
2828
- "8.2"
29-
stability:
30-
- "stable"
3129
symfony-version:
32-
- "5.4.x"
33-
- "6.3.x"
34-
- "6.4.x"
35-
- "7.0.x"
30+
- "5.4.*"
31+
- "6.3.*"
32+
- "6.4.*"
33+
- "7.0.*"
3634
driver-version:
3735
- "stable"
3836
dependencies:
@@ -42,23 +40,22 @@ jobs:
4240
os: "ubuntu-20.04"
4341
php-version: "7.4"
4442
driver-version: "1.5.0"
45-
stability: "stable"
4643
symfony-version: "5.4.*"
4744
exclude:
4845
- php-version: "7.4"
49-
symfony-version: "6.3.x"
46+
symfony-version: "6.3.*"
5047
- php-version: "7.4"
51-
symfony-version: "6.4.x"
48+
symfony-version: "6.4.*"
5249
- php-version: "8.0"
53-
symfony-version: "6.3.x"
50+
symfony-version: "6.3.*"
5451
- php-version: "8.0"
55-
symfony-version: "6.4.x"
52+
symfony-version: "6.4.*"
5653
- php-version: "7.4"
57-
symfony-version: "7.0.x"
54+
symfony-version: "7.0.*"
5855
- php-version: "8.0"
59-
symfony-version: "7.0.x"
56+
symfony-version: "7.0.*"
6057
- php-version: "8.1"
61-
symfony-version: "7.0.x"
58+
symfony-version: "7.0.*"
6259

6360
services:
6461
mongodb:
@@ -91,17 +88,11 @@ jobs:
9188
uses: "shivammathur/setup-php@v2"
9289
with:
9390
php-version: "${{ matrix.php-version }}"
94-
tools: "pecl"
91+
tools: "pecl, flex"
9592
extensions: "mongodb-${{ matrix.driver-version }}"
9693
coverage: "pcov"
9794
ini-values: "zend.assertions=1"
9895

99-
- name: "Globally install symfony/flex"
100-
run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex && composer global config --no-plugins allow-plugins.symfony/flex true"
101-
102-
- name: "Set minimum-stability to stable in Composer"
103-
run: "composer config minimum-stability ${{ matrix.stability }}"
104-
10596
- name: "Install dependencies with Composer"
10697
uses: "ramsey/composer-install@v2"
10798
with:

0 commit comments

Comments
 (0)