woocommerce/tests/bin/phpunit.sh

7 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
if [[ ${RUN_CODE_COVERAGE} == 1 ]]; then
phpdbg -qrr -d memory_limit=-1 $HOME/.composer/vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover --exclude-group=timeout
else
phpunit -c phpunit.xml
fi