From 7546092e654f9bb22e554819fb614e462075065a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Thu, 16 Dec 2021 16:26:48 +0100 Subject: [PATCH] Add PHP 8.1 to the CI matrix (#78) * Add PHP 8.1 to the CI matrix * fix --- .github/workflows/unit-tests.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3e05c01..63ff209 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -19,9 +19,7 @@ jobs: - "7.3" - "7.4" - "8.0" - - env: - SYMFONY_DEPRECATIONS_HELPER: 1 + - "8.1" steps: - name: "checkout" @@ -55,4 +53,13 @@ jobs: run: "php vendor/bin/simple-phpunit install" - name: "running unit tests" + if: ${{ matrix.dependencies == 'highest' }} + env: + SYMFONY_DEPRECATIONS_HELPER: 1 + run: "php vendor/bin/simple-phpunit" + + - name: "running unit tests" + if: ${{ matrix.dependencies == 'lowest' }} + env: + SYMFONY_DEPRECATIONS_HELPER: max[self]=0 run: "php vendor/bin/simple-phpunit"