[TOOLS] Update makefile to add an acceptance and accesibility testing target

This commit is contained in:
Hugo Sales 2022-01-09 14:45:33 +00:00
parent b2b445d21e
commit f40eb3955f
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -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/*