1 2 3 4 5 6 7 8 9 10
#!/bin/sh # Runs composer update, echoes php version and runs PHPUnit # Usage examples: # - ./run-tests.sh --group 20221124 # - ./run-tests.sh --exclude-group slow composer update --quiet #php -r 'echo "\nPHP version " . phpversion() . ". ";' php ./vendor/phpunit/phpunit/phpunit $@