From 040e278cda47553508a78f33eec3fef50c27317c Mon Sep 17 00:00:00 2001 From: JordiManyer Date: Tue, 5 Nov 2024 14:56:47 +1100 Subject: [PATCH] Remove pr trigger now that the workflow is registered --- .github/workflows/benchmark.yml | 1 - benchmark/README.md | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8581f6420..e7c29485a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -12,7 +12,6 @@ on: required: true default: 'master' type: string - pull_request: jobs: benchmark: diff --git a/benchmark/README.md b/benchmark/README.md index 989a1865f..e2b35fd2d 100644 --- a/benchmark/README.md +++ b/benchmark/README.md @@ -10,6 +10,12 @@ The benchmarks are setup as a manual Github Actions workflow in `.github/workflo The workflow will has two inputs: `target` and `base`, which are the branches/tags/commits you want to compare. The workflow will run the benchmarks on the `target` branch and compare them with the `base` branch (`master` by default). +You can also run the workflow using Github CLI and the following command: + +```bash +gh workflow run benchmark.yml -f target=your_target_branch -f base=your_base_branch +``` + ### Running Locally To run the benchmarks locally, you can have a look at the [documentation for `PkgBenchmark.jl`](https://juliaci.github.io/PkgBenchmark.jl/stable/run_benchmarks/).