8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84466c0 commit b4a9fdaCopy full SHA for b4a9fda
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