From 8688bf67349cda128941f1e609f61c4934c20e40 Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Sat, 23 Oct 2021 17:10:24 +0300 Subject: [PATCH] build: add coverage reporting --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 10a2edfb..6dc2c89f 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ build: clean ## Build binaries all: test build ## Build and run tests test: clean ## Run unit tests - @(go test ./...) + @(go test ./... -coverprofile=coverage.out) clean: ## Remove previous build @(go clean)