go-gha @ 521e2360830d31f839e8938b9467ec0c1a251b74 #3
Workflow file for this run
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 client benchmarks | |
on: | |
push: | |
paths: | |
- babushka-core/** | |
- submodules/** | |
- "go/**" | |
- ".github/workflows/go.yml" | |
pull_request: | |
paths: | |
- babushka-core/** | |
- submodules/** | |
- "go/**" | |
- ".github/workflows/go.yml" | |
workflow_dispatch: | |
inputs: | |
name: | |
required: false | |
type: string | |
run-name: ${{ inputs.name == '' && format('{0} @ {1}', github.ref_name, github.sha) || inputs.name }} | |
jobs: | |
go-benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Start Redis | |
run: docker run -p 6379:6379 -p 8001:8001 -d redis/redis-stack | |
- name: Run go benchmark | |
working-directory: benchmarks | |
run: | | |
go version | |
./install_and_test.sh -go-redis -tasks 10 -data 200 -clients 2 -no-tls |