Skip to content

Commit

Permalink
Updated coverage threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 authored Nov 28, 2023
1 parent 920dbe8 commit 75890d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75890d7

Please sign in to comment.