From f415dfa8ae3241c425824acd213d68ac916dac90 Mon Sep 17 00:00:00 2001 From: Anuj Khandelwal Date: Thu, 24 Oct 2024 16:50:03 +0530 Subject: [PATCH] chore: skip proto files in test coverage calculation (#806) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6468924aa..d110cff6f 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ lint-fix: golangci-lint run --fix test: ## Run tests - @go test -race $(shell go list ./... | grep -v /ui | grep -v /vendor/ | grep -v /test/ | grep -v /mocks | grep -v postgres/migrations) -coverprofile=coverage.out -count 2 -timeout 150s + @go test -race $(shell go list ./... | grep -v /ui | grep -v /vendor/ | grep -v /test/ | grep -v /mocks | grep -v postgres/migrations | grep -v /proto) -coverprofile=coverage.out -count 2 -timeout 150s test-all: lint test e2e-test ## Run all tests