[TOOLS] Fix running tests without filters
This commit is contained in:
parent
f0c532340e
commit
98b1b7072c
2
Makefile
2
Makefile
@ -38,7 +38,7 @@ tooling-docker: .PHONY
|
||||
@cd docker/tooling && docker-compose up -d > /dev/null 2>&1
|
||||
|
||||
test: tooling-docker
|
||||
docker exec $(call translate-container-name,tooling_php_1) /var/tooling/coverage.sh $(call args,'.*')
|
||||
docker exec $(call translate-container-name,tooling_php_1) /var/tooling/coverage.sh $(call args,'')
|
||||
|
||||
doc-check:
|
||||
bin/php-doc-check src components plugins
|
||||
|
@ -5,9 +5,7 @@ cd /var/www/social || exit 1
|
||||
printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
|
||||
yes yes | php bin/console doctrine:fixtures:load || exit 1
|
||||
|
||||
echo yooo
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
|
||||
runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
|
||||
else
|
||||
echo "Running with filter"
|
||||
|
Loading…
Reference in New Issue
Block a user