Execute test with docker compose #101

Merged
joao.dubas merged 3 commits from jpd-execute-tests-locally into main 2024-10-07 12:16:09 +00:00
Showing only changes of commit 041e94edaf - Show all commits

View File

@ -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}'