[#68] Makefile: Allow to override testflags

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-03-14 10:24:04 +03:00
parent a7bcad6aa9
commit 4d35da7c77

View file

@ -51,9 +51,10 @@ protoc:
rm -rf vendor
# Run Unit Test with go test
test: GOFLAGS ?= "-count=1"
test:
@echo "⇒ Running go test"
@go test ./... -count=1
@GOFLAGS="$(GOFLAGS)" go test ./...
# Run linters
lint: