diff --git a/Makefile b/Makefile index e07d3ab..3324cf0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DEV_COMPOSE = docker compose -f compose-dev.yml --env-file dev.env -.PHONY: dev-up dev-shell dev-down dev-logs dev-build dev-run +.PHONY: dev-up dev-shell dev-down dev-logs dev-build dev-run smoke-keyoapp-plain smoke-keyoapp-plain-dev dev-build: $(DEV_COMPOSE) build dev @@ -19,3 +19,10 @@ dev-down: dev-logs: $(DEV_COMPOSE) logs -f --tail=100 + +smoke-keyoapp-plain: + GOYOMI_SMOKE=1 go test -count=1 -v ./sources -run TestStandaloneKeyoappSmoke + +smoke-keyoapp-plain-dev: + $(DEV_COMPOSE) up -d postgres flaresolverr dev + $(DEV_COMPOSE) exec dev sh -lc "GOYOMI_SMOKE=1 go test -count=1 -v ./sources -run TestStandaloneKeyoappSmoke"