dev: add make targets for standalone smoke tests
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user