Skip to content

Commit aebaf55

Browse files
committed
add the coverprofile for clients not using tparse as well
1 parent 39c01bf commit aebaf55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
# if the tparse binary is not found, don't use it
66
if ! command -v tparse &> /dev/null; then
7-
go test -v -cover ./...
7+
go test -v -cover -coverprofile=coverage.out ./...
88
else
99
set -o pipefail && go test -cover -coverprofile=coverage.out -json ./... | tparse -smallscreen -all -trimpath github.com/github/
1010
fi

0 commit comments

Comments
 (0)