Skip to content

Commit 273cbd1

Browse files
authored
ci: add last_rc, remove extraneous pystar configs (bazel-contrib#2405)
Run the bzlmod example with last_rc to match the BCR config. This should help catch any issues before a BCR release occurs. Along the way, cleanup the extraneous pystar configs. The rules_python Starlark implementation is enabled by default, and disabling it is unsupported.
1 parent c8ccd22 commit 273cbd1

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

.bazelci/presubmit.yml

Lines changed: 29 additions & 24 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+
- "--config=bazel7.x"
3738
test_targets:
3839
- "--"
3940
- "..."
@@ -84,16 +85,6 @@ buildifier:
8485
- //tests:version_3_8_test
8586
- //tests:version_3_9_test
8687
- //tests:version_default_test
87-
.pystar_base: &pystar_base
88-
bazel: "7.x"
89-
environment:
90-
RULES_PYTHON_ENABLE_PYSTAR: "1"
91-
build_flags:
92-
- "--config=bazel7.x"
93-
test_flags:
94-
# The doc check tests fail because the Starlark implementation makes the
95-
# PyInfo and PyRuntimeInfo symbols become documented.
96-
- "--test_tag_filters=-integration-test,-doc_check_test"
9788
tasks:
9889
gazelle_extension_min:
9990
<<: *common_workspace_flags_min_bazel
@@ -139,26 +130,18 @@ tasks:
139130
name: "Default: Ubuntu, upcoming Bazel"
140131
platform: ubuntu2004
141132
bazel: last_rc
142-
pystar_ubuntu_workspace:
143-
<<: *reusable_config
144-
<<: *pystar_base
145-
name: "Default test: Ubuntu, Pystar, workspace"
146-
platform: ubuntu2004
147-
pystar_ubuntu_bzlmod:
133+
ubuntu_workspace:
148134
<<: *reusable_config
149-
<<: *pystar_base
150-
name: "Default test: Ubuntu, Pystar, bzlmod"
135+
name: "Default: Ubuntu, workspace"
151136
platform: ubuntu2004
152-
pystar_mac_workspace:
137+
mac_workspace:
153138
<<: *reusable_config
154139
<<: *common_workspace_flags
155-
<<: *pystar_base
156-
name: "Default test: Mac, Pystar, workspace"
140+
name: "Default: Mac, workspace"
157141
platform: macos
158-
pystar_windows_workspace:
142+
windows_workspace:
159143
<<: *reusable_config
160-
<<: *pystar_base
161-
name: "Default test: Windows, Pystar, workspace"
144+
name: "Default: Windows, workspace"
162145
platform: windows
163146

164147
debian:
@@ -250,6 +233,13 @@ tasks:
250233
working_directory: examples/bzlmod
251234
platform: ubuntu2004
252235
bazel: 7.x
236+
integration_test_bzlmod_ubuntu_upcoming:
237+
<<: *reusable_build_test_all
238+
<<: *coverage_targets_example_bzlmod
239+
name: "examples/bzlmod: Ubuntu, upcoming Bazel"
240+
working_directory: examples/bzlmod
241+
platform: ubuntu2004
242+
bazel: last_rc
253243
integration_test_bzlmod_debian:
254244
<<: *reusable_build_test_all
255245
<<: *coverage_targets_example_bzlmod
@@ -264,12 +254,27 @@ tasks:
264254
working_directory: examples/bzlmod
265255
platform: macos
266256
bazel: 7.x
257+
integration_test_bzlmod_macos_upcoming:
258+
<<: *reusable_build_test_all
259+
<<: *coverage_targets_example_bzlmod
260+
name: "examples/bzlmod: macOS, upcoming Bazel"
261+
working_directory: examples/bzlmod
262+
platform: macos
263+
bazel: last_rc
267264
integration_test_bzlmod_windows:
268265
<<: *reusable_build_test_all
269266
# coverage is not supported on Windows
270267
name: "examples/bzlmod: Windows"
271268
working_directory: examples/bzlmod
272269
platform: windows
270+
bazel: 7.x
271+
integration_test_bzlmod_windows_upcoming:
272+
<<: *reusable_build_test_all
273+
# coverage is not supported on Windows
274+
name: "examples/bzlmod: Windows, upcoming Bazel"
275+
working_directory: examples/bzlmod
276+
platform: windows
277+
bazel: last_rc
273278
integration_test_bzlmod_ubuntu_lockfile:
274279
<<: *reusable_build_test_all
275280
<<: *coverage_targets_example_bzlmod

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy