Workflow file for this run
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
on: [push, workflow_dispatch] | |
jobs: | |
build_and_test_ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- "" | |
- "latest" | |
- "last_rc" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Mount bazel cache | |
uses: actions/cache@v3 | |
with: | |
path: "/home/runner/.cache/bazel" | |
key: bazel | |
- name: Bazel Test | |
run: | | |
export USE_BAZEL_VERSION=${{matrix.version}} | |
bazel version | |
subdirs=( | |
. | |
mod_pytest | |
) | |
for dir in "${subdirs[@]}"; do | |
( cd "$dir"; bazel test --test_output=errors ...; ) | |
done |