File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 36
36
with :
37
37
name : coverage.html
38
38
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 23
23
- uses : actions/setup-go@v4
24
24
with :
25
25
go-version-file : ./go.mod
26
- - run : AUTOBAHN=1 ./ci/test.sh -bench=.
26
+ - run : AUTOBAHN=1 ./ci/test.sh
27
27
- uses : actions/upload-artifact@v3
28
28
with :
29
29
name : coverage.html
47
47
- uses : actions/setup-go@v4
48
48
with :
49
49
go-version-file : ./go.mod
50
- - run : AUTOBAHN=1 ./ci/test.sh -bench=.
50
+ - run : AUTOBAHN=1 ./ci/test.sh
51
51
- uses : actions/upload-artifact@v3
52
52
with :
53
53
name : coverage.html
Original file line number Diff line number Diff line change 3
3
cd -- " $( dirname " $0 " ) /.."
4
4
5
5
go 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=./... " $@ " ./...
7
7
sed -i.bak ' /stringer\.go/d' ci/out/coverage.prof
8
8
sed -i.bak ' /nhooyr.io\/websocket\/internal\/test/d' ci/out/coverage.prof
9
9
sed -i.bak ' /examples/d' ci/out/coverage.prof
You can’t perform that action at this time.
0 commit comments