Skip to content

Commit

Permalink
Edited makefile test command to include code coverate stats
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinmwinuka committed Feb 17, 2024
1 parent 671a1ce commit 69d558e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
bin
volumes
/config/
/coverage/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build:
env CGO_ENABLED=1 CC=x86_64-linux-musl-gcc GOOS=linux GOARCH=amd64 DEST=bin/linux/x86_64 make build-server

test:
go clean -testcache && go test ./...
go clean -testcache && go test ./src/... -coverprofile coverage/cover.out

0 comments on commit 69d558e

Please sign in to comment.