Run `@rules_java` extra tests only with the latest Bazel release The tests only exercise internals (such as the release process or configs) and should be independent of the Bazel version. Running them (esp the remote jdk configs tests) with all Bazel versions is wasteful. PiperOrigin-RevId: 867550547 Change-Id: Ic6803c9b00b83381706005aa3e0a6528199fdabb
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 30c6393..411f490 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml
@@ -89,10 +89,9 @@ build_flags: *flags_workspace_integration test_targets: *test_target_integration test_flags: *flags_workspace_integration -# Linux-only tests - linux_only_tests: - name: "Extra tests w/ Bazel {bazel}" - bazel: ${{ bazel }} + # internal tests for configs and release process + internal_tests: + name: "Internal tests" platform: "ubuntu2004" shell_commands: - "git init"