From 6c1792f023739ad0f79c30e78f42e87cd6dd1d01 Mon Sep 17 00:00:00 2001 From: Maxim Dolgushin Date: Mon, 6 Nov 2023 14:34:07 +0700 Subject: [PATCH] always run tests --- Dockerfile | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 330ab65..b0f711b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ADD ./tools/migrate /bin/golang-migrate/ # Add main files to app ADD . . # Download go depences -RUN go mod download +# RUN go mod download # Build app RUN GOOS=linux go build -o bin ./... diff --git a/Makefile b/Makefile index d7dc553..8195fe5 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ test.integration.down: ## shutting down integration environment docker-compose -f deployments/test/docker-compose.yaml down --volumes --rmi local test.integration.start: ## run integration test - go test ./tests/integration/... + go test -count=1 ./tests/integration/... test.e2e.start: ## run integration test go test ./tests/e2e/... @@ -48,4 +48,4 @@ dev.up: ## run dev environment docker-compose -f deployments/dev/docker-compose.yaml up -d dev.down: ## shutting down dev environment - docker-compose -f deployments/dev/docker-compose.yaml down --volumes --rmi local \ No newline at end of file + docker-compose -f deployments/dev/docker-compose.yaml down --volumes --rmi local