Skip to content

Commit

Permalink
Merge pull request google#159 from jasongraffius/add-bazel-test-workflow
Browse files Browse the repository at this point in the history
Add Github action to run Bazel tests for every PR
  • Loading branch information
jasongraffius authored Jul 22, 2024
2 parents 57f005b + ff19fec commit 084992d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/run-bazel-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Run Bazel tests
on: [pull_request]

jobs:
run-bazel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- run: bazel test ...

0 comments on commit 084992d

Please sign in to comment.