From f40eb3955feeb26b5c63cf7afda60dacab426fac Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Sun, 9 Jan 2022 14:45:33 +0000 Subject: [PATCH] [TOOLS] Update makefile to add an acceptance and accesibility testing target --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4ee0089f6c..fcb4ec4eb7 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,14 @@ database-force-schema-update: tooling-docker: .PHONY @cd docker/tooling && docker-compose up -d > /dev/null 2>&1 -accessibility: .PHONY - @cd docker/accessibility && docker-compose up +stop-tooling: .PHONY + cd docker/tooling && docker-compose down + +tooling-php-shell: tooling-docker + docker exec -it $(call translate-container-name,tooling_php_1) sh + +acceptance-and-accessibility: tooling-docker + docker exec -it $(call translate-container-name,tooling_php_1) sh -c "SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/codecept run" test: tooling-docker docker exec $(call translate-container-name,tooling_php_1) /var/tooling/coverage.sh $(call args,'') @@ -54,9 +60,6 @@ doc-check: tooling-docker phpstan: tooling-docker bin/phpstan -stop-tooling: .PHONY - cd docker/tooling && docker-compose down - remove-var: rm -rf var/*