labels: sample packages to test out Label.same_package_label #52
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: | |
fail-fast: false | |
matrix: | |
root: | |
- . | |
- mod_pytest | |
version: | |
- "" | |
- "latest" | |
- "last_rc" | |
- "last_green" | |
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: | | |
USE_BAZEL_VERSION=${{matrix.version}} | |
export USE_BAZEL_VERSION | |
bazel version | |
cd "${{matrix.root}}" | |
bazel test --test_output=errors ... |