Skip to content

Commit

Permalink
Add a CI test that exercises bazel builds
Browse files Browse the repository at this point in the history
If it's not tested, then it doesn't work.  Add a CI test that
executes `bazel build //...` and `bazel test //...`, in addition to
the non-bazel build system.
  • Loading branch information
anguslees authored and sparkprime committed Oct 26, 2022
1 parent 0a32b8c commit 3f664d8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ jobs:
CGO_ENABLED: "1"
SKIP_PYTHON_BINDINGS_TESTS: ${{ matrix.SKIP_PYTHON_BINDINGS_TESTS }}

bazel:
name: bazel test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/bazel
~/.cache/bazelisk
key: ${{ runner.os }}-bazel-cache
- run: bazel build //...
- run: bazel test //...

all:
name: Check all
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3f664d8

Please sign in to comment.