Skip to content

Commit

Permalink
refactor: (GH-apache#85) Changes in benchmark after review-3
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Kumar Singh <[email protected]>
  • Loading branch information
singh1203 committed Feb 3, 2025
1 parent 4dc951e commit 6ed51f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ name: Benchmarks
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- ".github/workflows/benchmark.yml"
- "ci/scripts/bench_adapt.py"
Expand All @@ -35,6 +37,10 @@ jobs:
arch: ['amd64']
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y ca-certificates
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -45,7 +51,9 @@ jobs:
go-version: ${{ matrix.go }}
cache: true
cache-dependency-path: go.sum
check-latest: false
- name: Run Benchmarks
if: github.event_name != 'push'
run: |
ci/scripts/bench.sh --json
- name: Upload results
Expand Down

0 comments on commit 6ed51f4

Please sign in to comment.