forked from GNUsocial/gnu-social
[TOOLS] Update makefile to add an acceptance and accesibility testing target
This commit is contained in:
parent
b2b445d21e
commit
f40eb3955f
13
Makefile
13
Makefile
@ -39,8 +39,14 @@ database-force-schema-update:
|
|||||||
tooling-docker: .PHONY
|
tooling-docker: .PHONY
|
||||||
@cd docker/tooling && docker-compose up -d > /dev/null 2>&1
|
@cd docker/tooling && docker-compose up -d > /dev/null 2>&1
|
||||||
|
|
||||||
accessibility: .PHONY
|
stop-tooling: .PHONY
|
||||||
@cd docker/accessibility && docker-compose up
|
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
|
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,'')
|
||||||
@ -54,9 +60,6 @@ doc-check: tooling-docker
|
|||||||
phpstan: tooling-docker
|
phpstan: tooling-docker
|
||||||
bin/phpstan
|
bin/phpstan
|
||||||
|
|
||||||
stop-tooling: .PHONY
|
|
||||||
cd docker/tooling && docker-compose down
|
|
||||||
|
|
||||||
remove-var:
|
remove-var:
|
||||||
rm -rf var/*
|
rm -rf var/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user