Skip to content

Merge pull request #1462 from 0chain/fix/active-check #569

Merge pull request #1462 from 0chain/fix/active-check

Merge pull request #1462 from 0chain/fix/active-check #569

Workflow file for this run

name: Benchmark
concurrency:
group: "benchmark-${{ github.ref }}"
cancel-in-progress: true
on:
push:
branches: [ master, staging ]
jobs:
benchmark:
runs-on: [self-hosted, conductor-test]
steps:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: ^1.20 # The Go version to download (if necessary) and use.
- name: Clone blobber
uses: actions/checkout@v2
- name: Run benchmark
run: CGO_ENABLED=1 go test -tags bn256 -benchmem -run="BenchmarkUploadFile*" -bench="BenchmarkUploadFile*" ./... | tee benchmark.txt