Skip to content

Commit 184e54b

Browse files
committed
Update integration_tests/bcr to match API changes and add missing deps
1 parent 7d064e5 commit 184e54b

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

sphinxdocs/integration_tests/bcr/BUILD.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,10 @@ sphinx_build_binary(
1515
"@dev_pip//sphinx",
1616
],
1717
)
18+
19+
load("@bazel_skylib//rules:build_test.bzl", "build_test")
20+
21+
build_test(
22+
name = "docs_build_test",
23+
targets = [":docs"],
24+
)

sphinxdocs/integration_tests/bcr/MODULE.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,15 @@ local_path_override(
1414
module_name = "rules_python",
1515
path = "../../..",
1616
)
17+
dev_pip = use_extension(
18+
"@rules_python//python/extensions:pip.bzl",
19+
"pip",
20+
dev_dependency = True,
21+
)
22+
dev_pip.parse(
23+
hub_name = "dev_pip",
24+
python_version = "3.11",
25+
requirements_lock = "@rules_python//docs:requirements.txt",
26+
)
27+
use_repo(dev_pip, "dev_pip")
28+
bazel_dep(name = "bazel_skylib", version = "1.8.2")

0 commit comments

Comments
 (0)