From 4be83f96937f9a4e18a2633511622d821f838a17 Mon Sep 17 00:00:00 2001 From: Ahmed Radwan Date: Thu, 14 Mar 2024 02:11:17 +0200 Subject: [PATCH] filter out pb from test coverage --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9dfd48..d176301 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ test: go test -short -v -cover ./... testci: - go test -short -race -covermode atomic -coverprofile=covprofile ./... + go test -short -race -covermode atomic -coverprofile=covprofile $(go list ./... | grep -v ./pb/) server: go run main.go