To support running Antrea Flexible IPAM tests on KIND (#5974) #1922
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Benchmark Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
go-benchmark-checks: | |
name: GoBenchmark | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
show-progress: false | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install benchci | |
run: curl -sfL https://raw.githubusercontent.com/antrea-io/benchci/main/install.sh | sudo sh -s -- -b /usr/local/bin | |
- name: Run benchmark | |
run: benchci -config test/performance/benchmark.yml |