Skip to content

Commit

Permalink
matrix-ize the root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wade-arista committed Feb 14, 2024
1 parent 36b3f40 commit 6c3232a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
- ""
- "latest"
- "last_rc"
root:
- .
- mod_pytest
steps:
- uses: actions/checkout@v3

Expand All @@ -20,12 +23,8 @@ jobs:

- name: Bazel Test
run: |
export USE_BAZEL_VERSION=${{matrix.version}}
USE_BAZEL_VERSION=${{matrix.version}}
export USE_BAZEL_VERSION
bazel version
subdirs=(
.
mod_pytest
)
for dir in "${subdirs[@]}"; do
( cd "$dir"; bazel test --test_output=errors ...; )
done
cd "${{matrix.root}}"
bazel test --test_output=errors ...

0 comments on commit 6c3232a

Please sign in to comment.