Skip to content

Commit

Permalink
Merge pull request #785 from franmomu/fix_symfony_require
Browse files Browse the repository at this point in the history
Fix SYMFONY_REQUIRE env var
  • Loading branch information
malarzm authored Oct 25, 2023
2 parents 0a533e9 + 97cb39e commit 6b53426
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 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 @@ -29,9 +29,9 @@ jobs:
stability:
- "stable"
symfony-version:
- "5.4.x"
- "6.2.x"
- "6.3.x"
- "5.4.*"
- "6.2.*"
- "6.3.*"
driver-version:
- "stable"
dependencies:
Expand All @@ -45,9 +45,13 @@ jobs:
symfony-version: "5.4.*"
exclude:
- php-version: "7.4"
symfony-version: "6.2.x"
symfony-version: "6.2.*"
- php-version: "7.4"
symfony-version: "6.3.x"
symfony-version: "6.3.*"
- php-version: "8.0"
symfony-version: "6.2.*"
- php-version: "8.0"
symfony-version: "6.3.*"

services:
mongodb:
Expand Down Expand Up @@ -80,14 +84,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 }}"

Expand Down

0 comments on commit 6b53426

Please sign in to comment.