From 90fd773ff198e9730eb2c5cd2217aefcbe78823a Mon Sep 17 00:00:00 2001 From: achmad Date: Mon, 11 May 2026 13:35:58 +0700 Subject: [PATCH] dev: add make targets for standalone smoke tests --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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"