test: fix expresion condition

This commit is contained in:
vnmedeiros 2021-07-15 10:28:50 -03:00
parent 994955ad83
commit 934b3f8169
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ jobs:
- name: Determine supported PHPUnit version - name: Determine supported PHPUnit version
id: set_phpunit id: set_phpunit
run: | run: |
if [[ "${{ matrix.php }}" > "8.0" ]]; then if [[ "${{ matrix.php }}" -ge "8.0" ]]; then
wget https://phar.phpunit.de/phpunit-8.3.1.phar -P /tmp wget https://phar.phpunit.de/phpunit-8.3.1.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