github.com/snyk/vervet/v5@v5.11.1-0.20240202085829-ad4dd7fb6101/scripts/coverage.bash (about) 1 #!/usr/bin/env bash 2 set -eux 3 cd $(dirname $0)/.. 4 5 covfile=$(mktemp) 6 trap "rm -f $covfile" EXIT 7 8 go test ./... -count=1 -coverprofile=$covfile 9 go tool cover -html=$covfile