Skip local tests, removing duplicate test runs

This commit is contained in:
Marc Di Luzio 2020-07-26 23:42:23 +01:00
parent cf1dff2814
commit 4f2a7edeb1

View file

@ -18,10 +18,7 @@ gen:
protoc --proto_path proto --go_out=plugins=grpc,paths=source_relative:proto/ proto/roveapi/roveapi.proto protoc --proto_path proto --go_out=plugins=grpc,paths=source_relative:proto/ proto/roveapi/roveapi.proto
test: test:
@echo Unit tests @echo Run unit and integration tests
go test -v ./...
@echo Integration tests
docker-compose -f docker-compose-test.yml up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests docker-compose -f docker-compose-test.yml up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests
docker-compose -f docker-compose-test.yml down docker-compose -f docker-compose-test.yml down
go tool cover -html=/tmp/coverage-data/c.out -o /tmp/coverage.html go tool cover -html=/tmp/coverage-data/c.out -o /tmp/coverage.html