diff --git a/Makefile b/Makefile index e150980..0b4011f 100755 --- a/Makefile +++ b/Makefile @@ -8,8 +8,9 @@ OUTPUT_LINT_DIR ?= $(shell pwd)/bin LINT_DIR = $(OUTPUT_LINT_DIR)/golangci-lint-$(LINT_VERSION)-v$(TRUECLOUDLAB_LINT_VERSION) # Run tests +test: GOFLAGS ?= "-cover -count=1" test: - @go test ./... -cover -count=1 + @GOFLAGS=$(GOFLAGS) go test ./... # Pull go dependencies dep: