From ee9f51bfd5bce364fdc145fafba6c30fc64f6918 Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Thu, 15 Jul 2021 10:20:12 -0300 Subject: [PATCH] fix: set phpunit version to PHP 8 --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e065f3440..b1f7b8b9e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,7 +90,11 @@ jobs: - name: Determine supported PHPUnit version id: set_phpunit run: | - if [[ "${{ matrix.php }}" > "6.0" ]]; then + if [[ "${{ matrix.php }}" > "8.0" ]]; then + wget https://phar.phpunit.de/phpunit-8.3.1.phar -P /tmp + chmod +x /tmp/phpunit-6.5.7.phar + mv /tmp/phpunit-6.5.7.phar /usr/local/bin/phpunit + elif [[ "${{ matrix.php }}" > "6.0" ]]; then wget https://phar.phpunit.de/phpunit-6.5.7.phar -P /tmp chmod +x /tmp/phpunit-6.5.7.phar mv /tmp/phpunit-6.5.7.phar /usr/local/bin/phpunit