From e5f3cafb01ff7b474929754fa1511e8246aadec0 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Wed, 25 Oct 2023 09:51:34 -0400 Subject: [PATCH] fix: SYMFONY_REQUIRE env was not setup properly --- .github/workflows/continuous-integration.yml | 35 ++++++++------------ 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 75477011..07943ed4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -15,7 +15,7 @@ jobs: name: "PHPUnit" runs-on: "${{ matrix.os }}" env: - SYMFONY_REQUIRE: ${{matrix.symfony-require}} + SYMFONY_REQUIRE: ${{matrix.symfony-version}} strategy: matrix: @@ -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: @@ -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: @@ -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: