Skip to content

Commit e18c41e

Browse files
authored
Add GitHub Actions workflow for Bazel tests
1 parent 0528e7d commit e18c41e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Bazel Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
bazel-test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
# Download the Algorithms repo
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Bazel
18+
uses: bazelbuild/setup-bazelisk@v3
19+
20+
- name: Run Bazel tests
21+
run: |
22+
bazel test //src/test/...

0 commit comments

Comments
 (0)