From 889818c7eef40ec54bf8590ead09e1007c88b605 Mon Sep 17 00:00:00 2001 From: Joshua Thijssen Date: Thu, 25 Apr 2024 13:27:41 +0200 Subject: [PATCH] Fixed bencher configuration --- .github/workflows/bench.yaml | 2 +- .github/workflows/bencher.yaml | 8 ++------ .github/workflows/bencher_baseline.yaml | 10 +++++++--- .github/workflows/ci.yaml | 2 +- .github/workflows/docs.yaml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bench.yaml b/.github/workflows/bench.yaml index 9887ed9a1..9ed64e8d1 100755 --- a/.github/workflows/bench.yaml +++ b/.github/workflows/bench.yaml @@ -1,4 +1,4 @@ -name: GoSub Bench +name: Gosub Bench on: push: diff --git a/.github/workflows/bencher.yaml b/.github/workflows/bencher.yaml index 000a5dbbe..fad0a9c8c 100644 --- a/.github/workflows/bencher.yaml +++ b/.github/workflows/bencher.yaml @@ -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 @@ -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 diff --git a/.github/workflows/bencher_baseline.yaml b/.github/workflows/bencher_baseline.yaml index 32e88b5e0..f77f05f08 100644 --- a/.github/workflows/bencher_baseline.yaml +++ b/.github/workflows/bencher_baseline.yaml @@ -1,6 +1,9 @@ +name: Bencher.dev benchmarks (baseline) + on: push: - branches: main + branches: + - main jobs: benchmark_base_branch: @@ -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 \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac68d1d0a..79157c948 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Rust CI +name: Gosub Continuous Integration (CI) on: push: diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 78135b392..49b908a87 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,4 +1,4 @@ -name: GoSub Docs +name: Gosub Documentation on: push: