makefile: separated integration tests, added test coverage

This commit is contained in:
Michał Matczuk
2017-07-31 16:11:42 +02:00
parent f8043ef567
commit 9ab68074ab
3 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
all: check test
all: check test integration-test
.PHONY: check
check:
@@ -10,8 +10,11 @@ check:
.PHONY: test
test:
go test -race ./...
go test -tags integration ./...
go test -cover -race ./...
.PHONY: integration-test
integration-test:
go test -cover -tags integration
.PHONY: get-deps
get-deps: