Skip to content

Commit a2d2c7e

Browse files
committed
ci: add bazel tests action
1 parent 7d30170 commit a2d2c7e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.workflow.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Continuous Integration
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
ci-bazel-tests:
10+
name:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Bazelisk
18+
uses: bazel-contrib/setup-bazel@0.14.0
19+
with:
20+
bazelisk-version: 1.25.0
21+
bazelisk-cache: true
22+
repository-cache: true
23+
24+
- name: Run Bazel Tests
25+
run: |
26+
bazelisk test //... --test_output=all --test_verbose_timeout_warnings --test_arg=--verbose --test_arg=--coverage

0 commit comments

Comments
 (0)