From f890abd8158cd52a46447a4500e2325f8ba122c0 Mon Sep 17 00:00:00 2001 From: Alexeyzem Date: Thu, 19 Dec 2024 21:05:41 +0300 Subject: [PATCH] fix test makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd4add19..41949239 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ test: - go test -v ./... -coverprofile=cover.out && go tool cover -html=cover.out -o cover.html + go test ./... -coverprofile=cover.out \ + && go tool cover -func=cover.out | grep -vE "*mock.go|*easyjson.go|*pb.go|*mock_helper.go" \ + && go tool cover -html=cover.out -o cover.html + start: docker compose up --build