Skip to content

Commit bde22bf

Browse files
committed
pass action env
1 parent a19366b commit bde22bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.bazelci/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,8 @@ tasks:
523523
platform: windows
524524
build_targets: ["//tests/integration:local_toolchains_test_bazel_self"]
525525
test_targets: ["//tests/integration:local_toolchains_test_bazel_self"]
526+
build_flags:
527+
- "--action_env=PATH"
526528

527529
integration_test_compile_pip_requirements_ubuntu:
528530
<<: *reusable_build_test_all

tests/integration/custom_commands_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
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", "//:bin")
23+
result = self.run_bazel(
24+
"run", "--build_python_zip=false", "--action_env=PATH", "//:bin"
25+
)
2426
self.assert_result_matches(result, "bazel-out")
2527

2628

0 commit comments

Comments
 (0)