diff options
author | Aleksander Machniak <alec@alec.pl> | 2022-08-01 09:39:31 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2022-08-01 09:39:31 +0300 |
commit | 47a2e2c536049fc242da483c2982bb9e875feb1e (patch) | |
tree | 05cf6fce11669170c43558c2db46c77fd2f48571 | |
parent | 21ce4e30e72cb90514db3d40ed7de6268d9ab518 (diff) |
Tests: Set composer platform for PHP 8.2 to fix phpunit installation
-rw-r--r-- | .github/workflows/tests.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9f509c8c..8ff30a8be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,6 +42,10 @@ jobs: cp composer.json-dist composer.json composer require "kolab/net_ldap3:~1.1.1" --no-update + - name: Fix PHPUnit for PHP 8.2 + run: composer config platform.php 8.1 + if: matrix.php >= 8.2 + - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-progress |