File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 3636 with :
3737 name : coverage.html
3838 path : ./ci/out/coverage.html
39+
40+ bench :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ - uses : actions/setup-go@v4
45+ with :
46+ go-version-file : ./go.mod
47+ - run : ./ci/bench.sh
Original file line number Diff line number Diff line change 2323 - uses : actions/setup-go@v4
2424 with :
2525 go-version-file : ./go.mod
26- - run : AUTOBAHN=1 ./ci/test.sh -bench=.
26+ - run : AUTOBAHN=1 ./ci/test.sh
2727 - uses : actions/upload-artifact@v3
2828 with :
2929 name : coverage.html
4747 - uses : actions/setup-go@v4
4848 with :
4949 go-version-file : ./go.mod
50- - run : AUTOBAHN=1 ./ci/test.sh -bench=.
50+ - run : AUTOBAHN=1 ./ci/test.sh
5151 - uses : actions/upload-artifact@v3
5252 with :
5353 name : coverage.html
Original file line number Diff line number Diff line change 33cd -- " $( dirname " $0 " ) /.."
44
55go install github.com/agnivade/wasmbrowsertest@latest
6- go test --race --timeout=1h --covermode=atomic --coverprofile=ci/out/coverage.prof --coverpkg=./... " $@ " ./...
6+ go test --race --bench=. -- timeout=1h --covermode=atomic --coverprofile=ci/out/coverage.prof --coverpkg=./... " $@ " ./...
77sed -i.bak ' /stringer\.go/d' ci/out/coverage.prof
88sed -i.bak ' /nhooyr.io\/websocket\/internal\/test/d' ci/out/coverage.prof
99sed -i.bak ' /examples/d' ci/out/coverage.prof
You can’t perform that action at this time.
0 commit comments