File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ buildifier:
34
34
build_flags :
35
35
- " --keep_going"
36
36
- " --build_tag_filters=-integration-test"
37
+ - " --announce_rc"
37
38
test_targets :
38
39
- " --"
39
40
- " ..."
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ build --incompatible_default_to_explicit_init_py
20
20
# Ensure ongoing compatibility with this flag.
21
21
common --incompatible_disallow_struct_provider_syntax
22
22
23
+ common --incompatible_strict_action_env
24
+
23
25
# Windows makes use of runfiles for some rules
24
26
build --enable_runfiles
25
27
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ test --test_output=errors --enable_runfiles
7
7
8
8
# Windows requires these for multi-python support:
9
9
build --enable_runfiles
10
+ build --incompatible_strict_action_env
10
11
common:bazel7.x --incompatible_python_disallow_native_rules
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- import logging
16
15
import unittest
17
16
18
17
from tests .integration import runner
21
20
class CustomCommandsTest (runner .TestCase ):
22
21
# Regression test for https://github.com/bazel-contrib/rules_python/issues/1840
23
22
def test_run_build_python_zip_false (self ):
24
- result = self .run_bazel ("run" , "--build_python_zip=false" , "//:bin" )
23
+ result = self .run_bazel (
24
+ "run" ,
25
+ "--build_python_zip=false" ,
26
+ "--incompatible_strict_action_env=false" ,
27
+ "//:bin" ,
28
+ )
25
29
self .assert_result_matches (result , "bazel-out" )
26
30
27
31
You can’t perform that action at this time.
0 commit comments