test: add target to execute tests locally
This commit is contained in:
parent
556c8770da
commit
041e94edaf
9
Makefile
9
Makefile
@ -55,6 +55,15 @@ compose_ps: ## status of containers
|
||||
compose_remote: ## connect to remote node
|
||||
@$(COMPOSE) exec app ./priv/docker/service/docker-remote.sh
|
||||
|
||||
.PHONY: compose_test
|
||||
compose_test: ## execute test on docker environment
|
||||
@$(COMPOSE) --profile test run --rm test
|
||||
|
||||
.PHONY: compose_test_shell
|
||||
compose_test_shell: ## enter test environment shell
|
||||
@$(COMPOSE) --profile test run --rm --entrypoint bash test -c bash
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user