From a77432fbb0a669b718e881262a3b5b16d318ca69 Mon Sep 17 00:00:00 2001 From: Jaapio Date: Mon, 20 Jul 2020 21:47:28 +0200 Subject: [PATCH] update to phpunit 9.2 phpunit 9.2 is the latests version but not supported on php 7.2 we are supporting php 7.2 for now, so downgrade for that purpose --- .github/workflows/push.yml | 6 ++++++ phive.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d277d5f..d3419fe 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -96,6 +96,12 @@ jobs: GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} --force-accept-unsigned + - name: Install phpunit 8 for php 7.2 + if: matrix.php-versions == '7.2' + env: + GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} phpunit:^8.5 + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/phive.xml b/phive.xml index ae6ee01..cd3d4b1 100644 --- a/phive.xml +++ b/phive.xml @@ -1,5 +1,5 @@ - +