From 4478b4887c5924c705bc4156aafb3bdeaf091d32 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Sun, 21 Jan 2024 11:13:21 +0100 Subject: [PATCH 1/4] chore: add testrun for symfony 7 --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 807268f..7dab98d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -75,6 +75,8 @@ jobs: php-version: '7.4' - symfony: '6' php-version: '8.2' + - symfony: '7' + php-version: '8.2' steps: - name: Checkout code From 2548d79bc76ac6eded223be2892e80bd9562ab9c Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Mon, 22 Jan 2024 20:36:34 +0100 Subject: [PATCH 2/4] chore: add testrun for symfony 7 --- .github/workflows/tests.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7dab98d..f18b130 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,12 +25,6 @@ jobs: tools: composer:v2 coverage: none - - name: Require PHPSpec 7.1 dependencies - run: | - composer require "phpspec/phpspec:^7.1@dev" --no-interaction --no-update - composer update --prefer-dist --no-interaction --no-progress --ignore-platform-req=php - if: "matrix.php == '8.1'" - - name: Install PHP dependencies run: composer update --prefer-dist --no-interaction --no-progress @@ -69,13 +63,13 @@ jobs: strategy: matrix: include: - - symfony: '4' + - symfony: '4.0.*' php-version: '7.1' - - symfony: '5' + - symfony: '5.0.*' php-version: '7.4' - - symfony: '6' + - symfony: '6.0.*' php-version: '8.2' - - symfony: '7' + - symfony: '7.0.*' php-version: '8.2' steps: @@ -89,16 +83,13 @@ jobs: tools: composer:v2 coverage: none - - name: Pin old packages - run: composer require "phpspec/phpspec:^2.5.8" --no-interaction --no-update - if: "matrix.symfony == '2'" - - name: Install dependencies + env: + SYMFONY_REQUIRE: ${{ matrix.symfony }} run: | composer config --no-plugins allow-plugins.symfony/flex true - composer require --no-update --no-interaction --no-progress symfony/flex - composer config extra.symfony.require ${{ matrix.symfony}} - composer update --prefer-dist --no-interaction --prefer-stable --prefer-lowest --no-progress + composer require --no-progress --no-scripts --no-plugins symfony/flex + composer update --prefer-dist --no-interaction --prefer-stable --no-progress - name: Execute tests run: composer test From b7a37b2d2260354967f6b304dad7a3bf1075e21b Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Mon, 22 Jan 2024 20:40:57 +0100 Subject: [PATCH 3/4] chore: add testrun for symfony 7 --- .github/workflows/tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f18b130..a89e78e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,9 +50,7 @@ jobs: coverage: none - name: Install dependencies - run: | - composer require "sebastian/comparator:^3.0.2" --no-interaction --no-update - composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress + run: composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress - name: Execute tests run: composer test @@ -63,11 +61,11 @@ jobs: strategy: matrix: include: - - symfony: '4.0.*' + - symfony: '4.4.*' php-version: '7.1' - - symfony: '5.0.*' + - symfony: '5.4.*' php-version: '7.4' - - symfony: '6.0.*' + - symfony: '6.4.*' php-version: '8.2' - symfony: '7.0.*' php-version: '8.2' From 4bd961e3a2d99dbc412c6d4b307a9810e228f856 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Mon, 22 Jan 2024 20:45:43 +0100 Subject: [PATCH 4/4] chore: add testrun for symfony 7 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a89e78e..591f9c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -85,8 +85,8 @@ jobs: env: SYMFONY_REQUIRE: ${{ matrix.symfony }} run: | - composer config --no-plugins allow-plugins.symfony/flex true - composer require --no-progress --no-scripts --no-plugins symfony/flex + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts --no-plugins symfony/flex composer update --prefer-dist --no-interaction --prefer-stable --no-progress - name: Execute tests