Skip to content

Commit

Permalink
chore(makefile): add test coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkabwe committed Jun 23, 2024
1 parent a75adb4 commit bb83b37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ GO ?= go
test:
@$(GO) test -v -cover -covermode=atomic -coverprofile coverage.out ./... && echo "\n==>\033[32m Ok\033[m\n" || exit 1

test-coverage:
@$(GO) tool cover -html=coverage.out

clean:
@$(GO) clean -x -i ./...

0 comments on commit bb83b37

Please sign in to comment.