From b753d57d32aa3d8c0d65738f7e703a8b7eed348e Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 22 Nov 2023 21:19:29 +0100 Subject: [PATCH] Add ci --- .github/workflows/test.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 83dd8e50..c5e1f3eb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,6 +11,9 @@ jobs: name: PHP ${{ matrix.php-version }} + ${{ matrix.dependencies }} runs-on: ubuntu-latest + env: + SYMFONY_REQUIRE: ${{matrix.symfony-require}} + strategy: matrix: php-version: @@ -19,9 +22,13 @@ jobs: - 8.2 - 8.3 dependencies: [highest] + symfony-require: [''] include: - php-version: 8.0 dependencies: lowest + - php-version: '8.2' + dependencies: highest + symfony-require: 7.0.* steps: - name: Checkout @@ -35,6 +42,13 @@ jobs: tools: composer:v2 ini-file: development + - name: Globally install symfony/flex + if: matrix.symfony-require != '' + run: | + composer config minimum-stability dev + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts --no-plugins symfony/flex + - name: Install Composer dependencies ${{ matrix.dependencies }} uses: ramsey/composer-install@v2 with: