From 794c37d77863b79b028119de3d36b676721d1f1b Mon Sep 17 00:00:00 2001 From: Marijus Kilmanas Date: Mon, 27 May 2024 19:27:01 +0300 Subject: [PATCH] Use symfony flex for ensuring symfony version in test matrix --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6671dbf..471205e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,11 +48,11 @@ jobs: restore-keys: | php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer- - - name: "Require php-coveralls/php-coveralls" - run: "composer global require php-coveralls/php-coveralls" + - name: "Require php-coveralls/php-coveralls and symfony/flex" + run: "composer global require php-coveralls/php-coveralls symfony/flex --no-scripts --no-plugins" - name: "Install dependencies" - run: "composer update -n --prefer-dist" + run: "SYMFONY_REQUIRE='${{ matrix.symfony-version }}' composer update -n --prefer-dist" - name: "Test" run: "composer test-coverage"