From a9d2cd2fa893e90dc6ab6545255712a46d0a57fc Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 3 Dec 2020 22:44:43 +0000 Subject: [PATCH] Install PHP 8.1 dependencies ignoring php req --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index beba1265..2b3f1608 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,6 +33,15 @@ jobs: timeout_minutes: 5 max_attempts: 5 command: composer update --no-interaction --no-progress + if: "matrix.php < 8.1" + + - name: Install PHP 8.1 Dependencies + uses: nick-invision/retry@v1 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer update --no-interaction --no-progress --ignore-platform-req=php + if: "matrix.php >= 8.1" - name: Execute PHPUnit run: vendor/bin/phpunit