Skip to content

Commit 88eea7f

Browse files
committed
Flip incompatible_strict_action_env in examples
1 parent 365f30f commit 88eea7f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.bazelci/presubmit.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ buildifier:
3434
build_flags:
3535
- "--keep_going"
3636
- "--build_tag_filters=-integration-test"
37+
- "--incompatible_strict_action_env"
3738
test_targets:
3839
- "--"
3940
- "..."
@@ -52,6 +53,7 @@ buildifier:
5253
- "--noenable_bzlmod"
5354
- "--enable_workspace"
5455
- "--test_tag_filters=-integration-test"
56+
- "--incompatible_strict_action_env"
5557
build_flags:
5658
- "--noenable_bzlmod"
5759
- "--enable_workspace"
@@ -616,6 +618,8 @@ tasks:
616618
name: "compile_pip_requirements_test_from_external_repo: Ubuntu, workspace, minimum Bazel"
617619
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
618620
platform: ubuntu2204
621+
build_flags:
622+
- "--incompatible_strict_action_env"
619623
shell_commands:
620624
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
621625
- "bazel test @compile_pip_requirements//..."
@@ -625,34 +629,44 @@ tasks:
625629
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
626630
platform: ubuntu2204
627631
bazel: 7.x
632+
build_flags:
633+
- "--incompatible_strict_action_env"
628634
shell_commands:
629635
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
630636
- "bazel test @compile_pip_requirements//..."
631637
integration_compile_pip_requirements_test_from_external_repo_ubuntu:
632638
name: "compile_pip_requirements_test_from_external_repo: Ubuntu"
633639
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
634640
platform: ubuntu2204
641+
build_flags:
642+
- "--incompatible_strict_action_env"
635643
shell_commands:
636644
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
637645
- "bazel test @compile_pip_requirements//..."
638646
integration_compile_pip_requirements_test_from_external_repo_debian:
639647
name: "compile_pip_requirements_test_from_external_repo: Debian"
640648
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
641649
platform: debian11
650+
build_flags:
651+
- "--incompatible_strict_action_env"
642652
shell_commands:
643653
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
644654
- "bazel test @compile_pip_requirements//..."
645655
integration_compile_pip_requirements_test_from_external_repo_macos:
646656
name: "compile_pip_requirements_test_from_external_repo: macOS"
647657
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
648658
platform: macos
659+
build_flags:
660+
- "--incompatible_strict_action_env"
649661
shell_commands:
650662
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
651663
- "bazel test @compile_pip_requirements//..."
652664
integration_compile_pip_requirements_test_from_external_repo_windows:
653665
name: "compile_pip_requirements_test_from_external_repo: Windows"
654666
working_directory: tests/integration/compile_pip_requirements_test_from_external_repo
655667
platform: windows
668+
build_flags:
669+
- "--incompatible_strict_action_env"
656670
shell_commands:
657671
# Assert that @compile_pip_requirements//:requirements_test does the right thing.
658672
- "bazel test @compile_pip_requirements//..."

examples/bzlmod/.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ test --test_output=errors --enable_runfiles
77

88
# Windows requires these for multi-python support:
99
build --enable_runfiles
10+
build --incompatible_strict_action_env
1011
common:bazel7.x --incompatible_python_disallow_native_rules

0 commit comments

Comments
 (0)