Skip to content

Commit

Permalink
Fixed bencher configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Apr 25, 2024
1 parent cef9b6d commit 889818c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GoSub Bench
name: Gosub Bench

on:
push:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/bencher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
permissions:
pull-requests: write
runs-on: ubuntu-latest
env:
BENCHER_PROJECT: gosub-engine
BENCHER_TESTBED: ubuntu-latest
BENCHER_ADAPTER: json
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
Expand All @@ -26,8 +22,8 @@ jobs:
--branch '${{ github.head_ref }}' \
--branch-start-point '${{ github.base_ref }}' \
--branch-start-point-hash '${{ github.event.pull_request.base.sha }}' \
--testbed ubuntu-latest \
--adapter json \
--testbed github-action-ci \
--adapter rust \
--err \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
cargo bench --all
10 changes: 7 additions & 3 deletions .github/workflows/bencher_baseline.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Bencher.dev benchmarks (baseline)

on:
push:
branches: main
branches:
- main

jobs:
benchmark_base_branch:
Expand All @@ -15,7 +18,8 @@ jobs:
--project gosub-engine \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch main \
--testbed ubuntu-latest \
--adapter json \
--testbed github-action-ci \
--adapter rust \
--err \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
cargo bench --all
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust CI
name: Gosub Continuous Integration (CI)

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GoSub Docs
name: Gosub Documentation

on:
push:
Expand Down

0 comments on commit 889818c

Please sign in to comment.