From 75890d7856d02846fa8373f4c5c12d245908f3d5 Mon Sep 17 00:00:00 2001 From: Sourabh Mehta <73165318+soumeh01@users.noreply.github.com> Date: Tue, 28 Nov 2023 11:36:51 +0100 Subject: [PATCH] Updated coverage threshold --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 8625be8..f95a2fb 100644 --- a/makefile +++ b/makefile @@ -91,8 +91,8 @@ coverage-report: test go tool cover -html=cover.out coverage-check: test - @echo Checking if test coverage is atleast 84% - test `go tool cover -func cover.out | tail -1 | awk '{print ($$3 + 0)*10}'` -ge 840 + @echo Checking if test coverage is atleast 80% + test `go tool cover -func cover.out | tail -1 | awk '{print ($$3 + 0)*10}'` -ge 800 test-public-index: @./scripts/test-public-index