Skip to content

Commit 99a58c5

Browse files
committed
Set incompatible_strict_action_env and announce_rc in CI
1 parent 029a4dc commit 99a58c5

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.bazelci/presubmit.yml

Lines changed: 4 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+
- "--announce_rc"
3738
test_targets:
3839
- "--"
3940
- "..."
@@ -160,6 +161,7 @@ tasks:
160161
- "--enable_workspace"
161162
- "--keep_going"
162163
- "--build_tag_filters=-integration-test"
164+
- "--action_env=PATH"
163165
test_targets:
164166
- "--"
165167
- "..."
@@ -180,6 +182,8 @@ tasks:
180182
<<: *reusable_config
181183
name: "Default: Windows"
182184
platform: windows
185+
build_flags:
186+
- "--action_env=PATH"
183187
test_flags:
184188
- "--test_tag_filters=-integration-test,-fix-windows"
185189
rbe_min:

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ build --incompatible_default_to_explicit_init_py
2020
# Ensure ongoing compatibility with this flag.
2121
common --incompatible_disallow_struct_provider_syntax
2222

23+
common --incompatible_strict_action_env
24+
2325
# Windows makes use of runfiles for some rules
2426
build --enable_runfiles
2527

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

tests/integration/custom_commands_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import logging
1615
import unittest
1716

1817
from tests.integration import runner

0 commit comments

Comments
 (0)