Fix CI since --enable_workspace is now disabled by default in Bazel HEAD (#251)
This means we need to enable workspace explicitly for legacy workspace
tests - and mark local_repository_test as a legacy workspace test.
Fixes https://github.com/bazelbuild/stardoc/issues/250
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 387dffc..c78ceb6 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -7,6 +7,7 @@
.noenable_bzlmod_flags: &noenable_bzlmod_flags
? "--noenable_bzlmod"
+ ? "--enable_workspace"
.windows_flags: &windows_flags
# Workaround for https://github.com/bazelbuild/continuous-integration/issues/1012
diff --git a/test/BUILD b/test/BUILD
index 9f42d94..1f654a1 100644
--- a/test/BUILD
+++ b/test/BUILD
@@ -373,6 +373,10 @@
"@local_repository_test//:golden.md",
"@local_repository_test//:output.md",
],
+ tags = [
+ "manual",
+ "noenable_bzlmod",
+ ],
)
# Consistency tests for WORKSPACE-related .bzl files vs. MODULE.bazel