Skip to content

Commit 6f11729

Browse files
committed
pass action env
1 parent 1aa8ad4 commit 6f11729

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.bazelci/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,8 @@ tasks:
537537
platform: windows
538538
build_targets: ["//tests/integration:local_toolchains_test_bazel_self"]
539539
test_targets: ["//tests/integration:local_toolchains_test_bazel_self"]
540+
build_flags:
541+
- "--action_env=PATH"
540542

541543
integration_test_compile_pip_requirements_ubuntu:
542544
<<: *reusable_build_test_all

tests/integration/custom_commands_test.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@
2020
class CustomCommandsTest(runner.TestCase):
2121
# Regression test for https://github.com/bazel-contrib/rules_python/issues/1840
2222
def test_run_build_python_zip_false(self):
23-
result = self.run_bazel("run", "--build_python_zip=false", "--@rules_python//python/config_settings:build_python_zip=false", "//:bin")
23+
result = self.run_bazel(
24+
"run",
25+
"--build_python_zip=false",
26+
"--@rules_python//python/config_settings:build_python_zip=false",
27+
"--action_env=PATH",
28+
"//:bin",
29+
)
2430
self.assert_result_matches(result, "bazel-out")
2531

2632

0 commit comments

Comments
 (0)