aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 03ae6b3..71d2343 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,9 @@ lint:
.PHONY: test
test:
- CGO_ENABLED=1 go test -race -coverprofile=cover.out ./...
+ CGO_ENABLED=1 go test -coverprofile=cover.out -failfast -race \
+ -timeout=1m \
+ ./...
go tool cover -html=cover.out -o cover.html
.PHONY: pre-push