-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds automated CI tests on pull requests and master
Adds github actions automated testing to pull requests and master pushes.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.0.1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cache bazel | ||
uses: actions/cache@v3.0.2 | ||
env: | ||
cache-name: bazel-cache | ||
with: | ||
path: | | ||
~/.cache/bazel | ||
key: ${{ runner.os }}-${{ env.cache-name }} | ||
|
||
- name: Bazel test | ||
run: bazel test //... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters