Thanks to visit codestin.com Credit goes to github.com
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 a6b9464 commit 4e15d75Copy full SHA for 4e15d75
.github/workflows/daily.yml
@@ -8,7 +8,15 @@ concurrency:
8
cancel-in-progress: true
9
10
jobs:
11
- ci:
+ 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:
20
runs-on: ubuntu-latest
21
steps:
22
- uses: actions/checkout@v4
ci/bench.sh
@@ -0,0 +1,9 @@
1
+#!/bin/sh
2
+set -eu
3
+cd -- "$(dirname "$0")/.."
4
+
5
+go test --bench=. "$@" ./...
6
+(
7
+ cd ./internal/thirdparty
+ go test --bench=. "$@" ./...
+)
make.sh
@@ -5,3 +5,4 @@ cd -- "$(dirname "$0")"
./ci/fmt.sh
./ci/lint.sh
./ci/test.sh
+./ci/bench.sh
0 commit comments