Skip to content

Commit 79e03c4

Browse files
committed
Add CI workflow that repeats bazel tests
Signed-off-by: Steve Peters <scpeters@intrinsic.ai>
1 parent 4ed1c4c commit 79e03c4

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Bazel repeat tests
2+
on:
3+
push:
4+
branches:
5+
- 'scpeters/bazel_repeat_tests'
6+
workflow_call:
7+
inputs:
8+
runs_per_test:
9+
default: 100
10+
required: false
11+
type: string
12+
workflow_dispatch:
13+
inputs:
14+
runs_per_test:
15+
default: 100
16+
required: false
17+
type: string
18+
19+
jobs:
20+
test:
21+
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v7.7.0
22+
with:
23+
folders: |
24+
[
25+
"."
26+
]
27+
exclude: |
28+
[
29+
{"folder": ".", "bzlmodEnabled": false}
30+
]
31+
exclude_windows: true
32+
bazel_test_command: 'bazel test //... --runs_per_test=${{ inputs.runs_per_test }}'

0 commit comments

Comments
 (0)