File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ jobs:
169169 make fxconfig configtxgen fabricx-docker-images
170170
171171 - name : Run ${{ matrix.tests }}
172+
172173 run : |
173174 mkdir -p covdata
174175 GOCOVERDIR=$(realpath covdata) make integration-tests-${{ matrix.tests }}
@@ -190,3 +191,24 @@ jobs:
190191 uses : shogo82148/actions-goveralls@v1
191192 with :
192193 parallel-finished : true
194+
195+ bench-check :
196+ needs : checks
197+ runs-on : ubuntu-latest
198+
199+ steps :
200+ - name : Checkout code
201+ uses : actions/checkout@v4
202+
203+ - name : Set up Go
204+ uses : actions/setup-go@v5
205+ with :
206+ go-version-file : " go.mod"
207+ cache-dependency-path : " **/*.sum"
208+
209+ - name : Download dependencies
210+ run : go mod download
211+
212+ - name : Compile benchmarks (do not run)
213+ run : go test ./... -run=^$ -bench=^$
214+
You can’t perform that action at this time.
0 commit comments