Skip to content

Commit

Permalink
test.sh: Use autobahn on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Oct 10, 2023
1 parent c8472cc commit 444d251
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ set -eu
cd -- "$(dirname "$0")/.."

go install github.com/agnivade/wasmbrowsertest@latest
if [ "${CI-}" ]; then
export AUTOBAHN=1
fi
go test --race --timeout=1h --covermode=atomic --coverprofile=ci/out/coverage.prof --coverpkg=./... "$@" ./...
sed -i.bak '/stringer\.go/d' ci/out/coverage.prof
sed -i.bak '/nhooyr.io\/websocket\/internal\/test/d' ci/out/coverage.prof
Expand Down

0 comments on commit 444d251

Please sign in to comment.