From dfba120d05698bccde6b81e38a4307955bc3445d Mon Sep 17 00:00:00 2001 From: Nic Wortel Date: Thu, 15 Jun 2023 16:18:15 +0200 Subject: [PATCH] Force install PHPUnit version 9 PHPUnit 10 does not support PHP versions < 8.1. See https://github.com/phar-io/phive/pull/409#issuecomment-1593139528 for context. --- .github/workflows/integrate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 6a19754c..e9a98ba1 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -108,7 +108,7 @@ jobs: - name: "Install phpunit/phpunit with phive" env: GITHUB_AUTH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - run: "php ./phive --no-progress install --trust-gpg-keys D8406D0D82947747293778314AA394086372C20A phpunit" + run: "php ./phive --no-progress install --trust-gpg-keys D8406D0D82947747293778314AA394086372C20A phpunit@^9.5" - name: "Run tests with phpunit/phpunit" run: "./tools/phpunit"