Skip to content

Commit 87f6e2d

Browse files
committed
Run mock with --exec, since the Bencher CLI image has no shell
1 parent e25b3b7 commit 87f6e2d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/pr_bare_metal_benchmarks.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
--detach \
2929
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
3030
--ci-callback-token '${{ secrets.BENCHER_CALLBACK_TOKEN }}' \
31+
--exec \
3132
mock

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ The `.github` directory contains example workflows from [how to use Bencher in G
1616
- [Post results of finished Jobs to pull requests](.github/workflows/pr_bare_metal_benchmarks_attach.yml)
1717

1818
These examples use the [Bencher CLI GitHub Action](https://github.com/marketplace/actions/bencher-cli).
19-
The bare metal example's benchmark Image is the [Bencher CLI image](https://github.com/bencherdev/bencher/pkgs/container/bencher), so its benchmark command is `mock`.
19+
The bare metal example's benchmark Image is the [Bencher CLI image](https://github.com/bencherdev/bencher/pkgs/container/bencher), whose entrypoint is `bencher` and which has no shell, so its benchmark command is `mock` with `--exec`.

0 commit comments

Comments
 (0)