Skip to content

Commit 8d6c077

Browse files
committed
[ci] Use JDK 17
1 parent b734f5e commit 8d6c077

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci-java.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
os: ${{ matrix.os }}
1919
browser: chrome
2020
cache-key: java-${{ matrix.os }}-tests
21+
# rules_jvm_external is not fully hermetic
22+
# https://github.com/bazelbuild/rules_jvm_external/issues/1046
23+
java-version: 17
2124
run: |
2225
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest `
2326
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest `
@@ -39,10 +42,13 @@ jobs:
3942
os: ${{ matrix.os }}
4043
browser: chrome
4144
cache-key: java-${{ matrix.os }}-tests
45+
# rules_jvm_external is not fully hermetic
46+
# https://github.com/bazelbuild/rules_jvm_external/issues/1046
47+
java-version: 17
4248
run: |
4349
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
4450
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
45-
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
51+
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
4652
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
4753
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest \
4854
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
@@ -60,5 +66,8 @@ jobs:
6066
os: ${{ matrix.os }}
6167
browser: chrome
6268
cache-key: java-${{ matrix.os }}-remote-tests
69+
# rules_jvm_external is not fully hermetic
70+
# https://github.com/bazelbuild/rules_jvm_external/issues/1046
71+
java-version: 17
6372
run: |
6473
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote

0 commit comments

Comments
 (0)