Skip to content

Commit

Permalink
Restore simpler Bencher setup - run on main only (#6220)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jun 3, 2024
1 parent 5eddfe7 commit 6251861
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 117 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/bencher_run.yml → .github/workflows/bencher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: "Bencher: Run Benchmarks"
on:
push:
branches: main
pull_request:
types: [opened, reopened, edited, synchronize]
workflow_dispatch:

jobs:
run_benchmarks:
Expand All @@ -30,14 +29,14 @@ jobs:
./tests.sh -VV -R historical_query
./tests.sh -VV -R commit_latency
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: BenchmarkResults
path: ./build/bencher.json

- name: Upload GitHub Pull Request Event
uses: actions/upload-artifact@v4
with:
name: event.json
path: ${{ github.event_path }}
- uses: bencherdev/bencher@main
- name: Track base branch benchmarks with Bencher
run: |
bencher run \
--project ccf \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch main \
--testbed gha-virtual-ccf-sub \
--adapter json \
--err \
--file build/bencher.json
104 changes: 0 additions & 104 deletions .github/workflows/bencher_process.yml

This file was deleted.

0 comments on commit 6251861

Please sign in to comment.