Setting `--fail-on-missing-artifacts
flag to false
by default to …
#66
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
name: Build and Test | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: bazel cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/bazel/repository_cache | |
~/.cache/bazel/disk_cache | |
key: ${{ runner.os }}-bazel | |
- name: run bazel | |
run: > | |
bazel test //... | |
--disk_cache=~/.cache/bazel/disk_cache | |
--repository_cache=~/.cache/bazel/repository_cache | |
--keep_going | |
--test_output=errors | |
- name: run bazel on example | |
run: > | |
cd example && bazel test //... | |
--disk_cache=~/.cache/bazel/disk_cache | |
--repository_cache=~/.cache/bazel/repository_cache | |
--keep_going | |
--test_output=errors |