generated from PenaSide/GolangTemplate
always run tests
This commit is contained in:
parent
fd65edcc01
commit
4a9b67babc
@ -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 ./...
|
||||
|
||||
|
4
Makefile
4
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/...
|
||||
|
Loading…
Reference in New Issue
Block a user