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/).