@@ -38,17 +38,29 @@ jobs:
3838 env :
3939 # Bazelisk will download bazel to here, ensure it is cached between runs.
4040 XDG_CACHE_HOME : ~/.cache/bazel-repo
41- run : bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test --config=jdk11 //...
41+ run : bazel --bazelrc=.github/workflows/ci.bazelrc test --config=jdk11 //...
4242
4343 - name : bazel test //... (Java 17)
4444 env :
4545 # Bazelisk will download bazel to here, ensure it is cached between runs.
4646 XDG_CACHE_HOME : ~/.cache/bazel-repo
47- run : bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //...
47+ run : bazel --bazelrc=.github/workflows/ci.bazelrc test //...
4848
4949 - name : bazel test //... (no bzlmod)
5050 env :
5151 # Bazelisk will download bazel to here, ensure it is cached between runs.
5252 XDG_CACHE_HOME : ~/.cache/bazel-repo
5353 # The docs targets are tagged as `manual` to prevent stardoc from running with bzlmod
54- run : bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test --noenable_bzlmod //... //docs:all
54+ run : bazel --bazelrc=.github/workflows/ci.bazelrc test --noenable_bzlmod //... //docs:all
55+
56+ - name : bzlmod tests_and_lints
57+ env :
58+ # Bazelisk will download bazel to here, ensure it is cached between runs.
59+ XDG_CACHE_HOME : ~/.cache/bazel-repo
60+ run : (cd examples/tests_and_lints && bazel --bazelrc=../../.github/workflows/ci.bazelrc test --enable_bzlmod //...)
61+
62+ - name : bzlmod gazelle
63+ env :
64+ # Bazelisk will download bazel to here, ensure it is cached between runs.
65+ XDG_CACHE_HOME : ~/.cache/bazel-repo
66+ run : (cd examples/gazelle && bazel --bazelrc=../../.github/workflows/ci.bazelrc run --enable_bzlmod //:gazelle && bazel --bazelrc=../../.github/workflows/ci.bazelrc test --enable_bzlmod //...)
0 commit comments