Skip to content

Commit 4e15d75

Browse files
committed
ci/bench.sh: Add
1 parent a6b9464 commit 4e15d75

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/daily.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ concurrency:
88
cancel-in-progress: true
99

1010
jobs:
11-
ci:
11+
bench:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-go@v4
16+
with:
17+
go-version-file: ./go.mod
18+
- run: AUTOBAHN=1 ./ci/bench.sh
19+
test:
1220
runs-on: ubuntu-latest
1321
steps:
1422
- uses: actions/checkout@v4

ci/bench.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
set -eu
3+
cd -- "$(dirname "$0")/.."
4+
5+
go test --bench=. "$@" ./...
6+
(
7+
cd ./internal/thirdparty
8+
go test --bench=. "$@" ./...
9+
)

make.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ cd -- "$(dirname "$0")"
55
./ci/fmt.sh
66
./ci/lint.sh
77
./ci/test.sh
8+
./ci/bench.sh

0 commit comments

Comments
 (0)