fix: set phpunit version to PHP 8

This commit is contained in:
vnmedeiros 2021-07-15 10:20:12 -03:00
parent 2a3dd69d70
commit ee9f51bfd5
1 changed files with 5 additions and 1 deletions

View File

@ -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