Skip to content

Commit 7b82eb5

Browse files
committed
coverage report
1 parent 2ed9faa commit 7b82eb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ clean:
2727
test:
2828
go test -race -v --cover ./...
2929

30+
report:
31+
go test ./... -covermode=atomic -coverpkg=./... -coverprofile=c.out
32+
gocov convert ./c.out | gocov-html > ~/go-sdk-test-report.html
33+
34+
3035
build-test-wrapper:
3136
docker build -t us.gcr.io/${PROJECT_ID}/${IMAGE}:latest -f ./docker/Dockerfile .
3237

0 commit comments

Comments
 (0)