File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -117,3 +117,26 @@ jobs:
117117 - run : .kokoro/build.sh
118118 env :
119119 JOB_TYPE : test
120+ units-java24 :
121+ # Building using Java 8 and run the tests with Java 24 runtime
122+ name : " units (24)"
123+ runs-on : ubuntu-latest
124+ steps :
125+ - uses : actions/checkout@v4
126+ - uses : actions/setup-java@v3
127+ with :
128+ java-version : 24
129+ distribution : temurin
130+ - name : " Set jvm system property environment variable for surefire plugin (unit tests)"
131+ # Maven surefire plugin (unit tests) allows us to specify JVM to run the tests.
132+ # https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm
133+ run : echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
134+ shell : bash
135+ - uses : actions/setup-java@v3
136+ with :
137+ java-version : 8
138+ distribution : temurin
139+ - run : .kokoro/install_dependencies.sh
140+ - run : .kokoro/build.sh
141+ env :
142+ JOB_TYPE : test
You can’t perform that action at this time.
0 commit comments