[TESTS] Run tests without runuser as it's generating very weird permission errors. This is temporary (TM)
This commit is contained in:
parent
d0f9fde7c2
commit
420ebcda26
|
@ -6,8 +6,8 @@ printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
|
|||
yes yes | php bin/console doctrine:fixtures:load || exit 1
|
||||
|
||||
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
|
||||
runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
|
||||
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
|
||||
else
|
||||
echo "Running with filter"
|
||||
runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*"
|
||||
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user