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 78da4c0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 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,9 +51,10 @@ jobs:
go-version: ${{ matrix.go }}
cache: true
cache-dependency-path: go.sum
check-latest: false
- name: Run Benchmarks
run: |
ci/scripts/bench.sh --json
if: github.event_name != 'push'
run: bash ci/scripts/bench.sh --json
- name: Upload results
if: github.event_name == 'push' && github.repository == 'apache/arrow-go' && github.ref_name == 'main'
env:
Expand Down

0 comments on commit 78da4c0

Please sign in to comment.