fix: set phpunit version to PHP 8
This commit is contained in:
parent
2a3dd69d70
commit
ee9f51bfd5
|
@ -90,7 +90,11 @@ jobs:
|
||||||
- name: Determine supported PHPUnit version
|
- name: Determine supported PHPUnit version
|
||||||
id: set_phpunit
|
id: set_phpunit
|
||||||
run: |
|
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
|
wget https://phar.phpunit.de/phpunit-6.5.7.phar -P /tmp
|
||||||
chmod +x /tmp/phpunit-6.5.7.phar
|
chmod +x /tmp/phpunit-6.5.7.phar
|
||||||
mv /tmp/phpunit-6.5.7.phar /usr/local/bin/phpunit
|
mv /tmp/phpunit-6.5.7.phar /usr/local/bin/phpunit
|
||||||
|
|
Loading…
Reference in New Issue