From d322df3f918cf91c9df51526a8bbd00350cd5bbb Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 26 Jul 2021 10:21:41 +0200 Subject: [PATCH] GA: Try again with PHP 8.1 --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2036ab2f..94804ac88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.3, 7.4, 8.0] + php: [7.3, 7.4, 8.0, 8.1] name: PHP ${{ matrix.php }}/Linux @@ -31,6 +31,10 @@ jobs: - name: Setup problem matchers run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Fix PHPUnit for PHP8.1 + run: composer config platform.php 8.0 + if: matrix.php >= 8.1 + - name: Setup composer run: | cp composer.json-dist composer.json