Skip to content

Commit 610ffe7

Browse files
committed
Limit unauthenticated Windows Bazel tests
1 parent fd72fda commit 610ffe7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/bazel.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,16 @@ jobs:
186186
set -euo pipefail
187187
188188
bazel_test_query='tests(//...) except tests(//third_party/v8:all) except attr(tags, "manual", tests(//...))'
189+
if [[ -z "${BUILDBUDDY_API_KEY:-}" ]]; then
190+
# Without authenticated RBE, this job falls back from Windows
191+
# cross-compile to native hosted Windows tests. Keep that fallback
192+
# focused on stable target-level Windows coverage; the
193+
# subprocess/ConPTY-heavy suites below are covered by Linux/macOS
194+
# PR jobs and the native Windows main-branch lane.
195+
bazel_test_query="${bazel_test_query} except //codex-rs/core:core-all-test"
196+
bazel_test_query="${bazel_test_query} except //codex-rs/shell-command:shell-command-unit-tests"
197+
bazel_test_query="${bazel_test_query} except //codex-rs/utils/pty:pty-unit-tests"
198+
fi
189199
mapfile -t bazel_targets < <(
190200
./.github/scripts/run-bazel-query-ci.sh --output=label -- "${bazel_test_query}" \
191201
| LC_ALL=C sort

0 commit comments

Comments
 (0)