Skip to content

Commit

Permalink
bzlmod/python: run in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
evertedsphere committed Feb 21, 2023
1 parent 7fe32b2 commit 915ca62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/build-and-test
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ if [[ ${BZLMOD_ENABLED-} = true ]]; then
core
toolchains/java
toolchains/posix
toolchains/python
)
declare -ra test_dirs=(
testing/core
testing/java
testing/posix
testing/python
)
declare -ra extra_flags=(
--config=bzlmod
Expand All @@ -54,6 +56,7 @@ else
testing/core
testing/java
testing/posix
testing/python
)
declare -ra extra_flags=(
)
Expand Down
4 changes: 4 additions & 0 deletions toolchains/python/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Skip docs directories in bzlmod mode. Stardoc is not yet bzlmod compatible.
build:bzlmod --deleted_packages=docs
build:bzlmod --registry=file://%workspace%/../../registry

import %workspace%/../../.bazelrc.common
import %workspace%/../../.bazelrc.cc
import %workspace%/../../.bazelrc.java

0 comments on commit 915ca62

Please sign in to comment.