Skip to content

Commit

Permalink
fix: SYMFONY_REQUIRE env was not setup properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Oct 25, 2023
1 parent 4a966c2 commit e5f3caf
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "PHPUnit"
runs-on: "${{ matrix.os }}"
env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
SYMFONY_REQUIRE: ${{matrix.symfony-version}}

strategy:
matrix:
Expand All @@ -26,13 +26,11 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
stability:
- "stable"
symfony-version:
- "5.4.x"
- "6.3.x"
- "6.4.x"
- "7.0.x"
- "5.4.*"
- "6.3.*"
- "6.4.*"
- "7.0.*"
driver-version:
- "stable"
dependencies:
Expand All @@ -42,23 +40,22 @@ jobs:
os: "ubuntu-20.04"
php-version: "7.4"
driver-version: "1.5.0"
stability: "stable"
symfony-version: "5.4.*"
exclude:
- php-version: "7.4"
symfony-version: "6.3.x"
symfony-version: "6.3.*"
- php-version: "7.4"
symfony-version: "6.4.x"
symfony-version: "6.4.*"
- php-version: "8.0"
symfony-version: "6.3.x"
symfony-version: "6.3.*"
- php-version: "8.0"
symfony-version: "6.4.x"
symfony-version: "6.4.*"
- php-version: "7.4"
symfony-version: "7.0.x"
symfony-version: "7.0.*"
- php-version: "8.0"
symfony-version: "7.0.x"
symfony-version: "7.0.*"
- php-version: "8.1"
symfony-version: "7.0.x"
symfony-version: "7.0.*"

services:
mongodb:
Expand Down Expand Up @@ -91,17 +88,11 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
tools: "pecl"
tools: "pecl, flex"
extensions: "mongodb-${{ matrix.driver-version }}"
coverage: "pcov"
ini-values: "zend.assertions=1"

- name: "Globally install symfony/flex"
run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex && composer global config --no-plugins allow-plugins.symfony/flex true"

- name: "Set minimum-stability to stable in Composer"
run: "composer config minimum-stability ${{ matrix.stability }}"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
Expand Down

0 comments on commit e5f3caf

Please sign in to comment.