We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1020d commit e4fee52Copy full SHA for e4fee52
ci/test.sh
@@ -5,9 +5,9 @@ main() {
5
cd "$(dirname "$0")/.."
6
7
go test -timeout=30m -covermode=atomic -coverprofile=ci/out/coverage.prof -coverpkg=./... "$@" ./...
8
- sed -i '/stringer\.go/d' ci/out/coverage.prof
9
- sed -i '/nhooyr.io\/websocket\/internal\/test/d' ci/out/coverage.prof
10
- sed -i '/examples/d' ci/out/coverage.prof
+ sed -i.bak '/stringer\.go/d' ci/out/coverage.prof
+ sed -i.bak '/nhooyr.io\/websocket\/internal\/test/d' ci/out/coverage.prof
+ sed -i.bak '/examples/d' ci/out/coverage.prof
11
12
# Last line is the total coverage.
13
go tool cover -func ci/out/coverage.prof | tail -n1
0 commit comments