diff --git a/Dockerfile b/Dockerfile index 4f911a2..ecf3043 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN mkdir /bin/golang-migrate -p ADD ./tools/migrate /bin/golang-migrate/ # Add main files to app ADD . . +# Download go depences +# RUN go mod download # Build app RUN GOOS=linux go build -o bin ./... diff --git a/Makefile b/Makefile index 0bb8ea3..ee7b40f 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,7 @@ test.integration.down: ## shutting down integration environment docker-compose -f deployments/test/docker-compose.yaml down --volumes test.integration.start: ## run integration test - docker-compose -p integration -f deployments/test/docker-compose.integration.yaml down - docker-compose -p integration -f deployments/test/docker-compose.integration.yaml up --exit-code-from integration --remove-orphans - docker-compose -p integration -f deployments/test/docker-compose.integration.yaml down + go test -count=1 ./tests/integration/... test.e2e.start: ## run integration test go test ./tests/e2e/...