Skip to content

Commit ffb3798

Browse files
committed
Disable doc targets in workspace mode
1 parent 1e43ae6 commit ffb3798

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.bazelci/presubmit.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ buildifier:
4040
- "..."
4141
test_flags:
4242
- "--test_tag_filters=-integration-test"
43+
.disable_docs: &disable_docs
44+
build_targets:
45+
- "--"
46+
- "..."
47+
# As a regression test for #225, check that wheel targets still build when
48+
# their package path is qualified with the repo name.
49+
- "@rules_python//examples/wheel/..."
50+
- "-//sphinxdocs/..."
51+
- "-//docs/..."
52+
test_targets:
53+
- "--"
54+
- "..."
55+
- "-//sphinxdocs/..."
56+
- "-//docs/..."
4357
.common_workspace_flags_min_bazel: &common_workspace_flags_min_bazel
4458
build_flags:
4559
- "--noenable_bzlmod"
@@ -131,12 +145,12 @@ tasks:
131145
platform: ubuntu2004
132146
bazel: last_rc
133147
ubuntu_workspace:
134-
<<: *reusable_config
148+
<<: *disable_docs
135149
<<: *common_workspace_flags
136150
name: "Default: Ubuntu, workspace"
137151
platform: ubuntu2004
138152
mac_workspace:
139-
<<: *reusable_config
153+
<<: *disable_docs
140154
<<: *common_workspace_flags
141155
name: "Default: Mac, workspace"
142156
platform: macos

0 commit comments

Comments
 (0)