Skip to content

Commit 58f2a5e

Browse files
committed
test all with jdk 21
1 parent 83d3475 commit 58f2a5e

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.bazelci/presubmit.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -90,24 +90,14 @@ tasks:
9090
platform: ubuntu2004
9191
run_targets:
9292
- "//tools:lint_check"
93-
jdk_21:
94-
name: "bazel test //test/... with jdk21"
93+
test_rules_scala_jdk21:
94+
name: "./test_rules_scala with jdk21"
9595
platform: ubuntu2004
9696
shell_commands:
9797
- mv tools/bazel.rc.buildkite tools/bazel.rc
9898
- echo "import %workspace%/tools/bazel.rc" > .bazelrc
99-
build_flags:
100-
- "--java_language_version=21"
101-
- "--java_runtime_version=21"
102-
- "--tool_java_language_version=21"
103-
- "--tool_java_runtime_version=21"
104-
build_targets:
105-
- "//test/..."
106-
test_flags:
107-
- "--java_language_version=21"
108-
- "--java_runtime_version=21"
109-
- "--tool_java_language_version=21"
110-
- "--tool_java_runtime_version=21"
111-
test_targets:
112-
- "//test/..."
113-
99+
- echo "build --java_language_version=21" >> .bazelrc
100+
- echo "build --java_runtime_version=21" >> .bazelrc
101+
- echo "build --tool_java_language_version=21" >> .bazelrc
102+
- echo "build --tool_java_runtime_version=21" >> .bazelrc
103+
- "./test_rules_scala.sh"

0 commit comments

Comments
 (0)