Skip to content

Commit

Permalink
Disable doc targets in workspace mode
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Nov 21, 2024
1 parent 1e43ae6 commit ffb3798
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ buildifier:
- "..."
test_flags:
- "--test_tag_filters=-integration-test"
.disable_docs: &disable_docs
build_targets:
- "--"
- "..."
# As a regression test for #225, check that wheel targets still build when
# their package path is qualified with the repo name.
- "@rules_python//examples/wheel/..."
- "-//sphinxdocs/..."
- "-//docs/..."
test_targets:
- "--"
- "..."
- "-//sphinxdocs/..."
- "-//docs/..."
.common_workspace_flags_min_bazel: &common_workspace_flags_min_bazel
build_flags:
- "--noenable_bzlmod"
Expand Down Expand Up @@ -131,12 +145,12 @@ tasks:
platform: ubuntu2004
bazel: last_rc
ubuntu_workspace:
<<: *reusable_config
<<: *disable_docs
<<: *common_workspace_flags
name: "Default: Ubuntu, workspace"
platform: ubuntu2004
mac_workspace:
<<: *reusable_config
<<: *disable_docs
<<: *common_workspace_flags
name: "Default: Mac, workspace"
platform: macos
Expand Down

0 comments on commit ffb3798

Please sign in to comment.