Skip to content

Commit a67f940

Browse files
committed
fix(script/test): Move coverage profile to repository root for reporting
1 parent 6d30369 commit a67f940

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

script/test

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ fi
1515
go mod download
1616
go mod tidy
1717
if [[ "$COVER" == "yes" ]]; then
18-
OUT="./coverage/c.out"
18+
OUT="./c.out"
1919
HTML="./coverage/c.html"
2020
go test ./... -covermode=count -coverprofile="$OUT"
2121
go tool cover -html="$OUT" -o "$HTML"
22-
rm "$OUT"
2322
else
2423
go test ./...
2524
fi
26-
27-

0 commit comments

Comments
 (0)