always run tests

This commit is contained in:
Maxim Dolgushin 2023-11-06 14:34:07 +07:00 committed by skeris
parent fd65edcc01
commit 4a9b67babc
2 changed files with 3 additions and 3 deletions

@ -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 ./...

@ -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/...