Skip to content

Commit e444ffc

Browse files
authored
test: add job for running multiplexed session test using Java 8 runtime (#3062)
1 parent ec9a2fd commit e444ffc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,26 @@ jobs:
7272
- run: .kokoro/build.sh
7373
env:
7474
JOB_TYPE: test
75+
units-with-multiplexed-session8:
76+
# Building using Java 17 and run the tests with Java 8 runtime
77+
name: "units-with-multiplexed-session (8)"
78+
runs-on: ubuntu-latest
79+
steps:
80+
- uses: actions/checkout@v4
81+
- uses: actions/setup-java@v3
82+
with:
83+
java-version: 8
84+
distribution: temurin
85+
- run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
86+
shell: bash
87+
- uses: actions/setup-java@v3
88+
with:
89+
java-version: 17
90+
distribution: temurin
91+
- run: .kokoro/build.sh
92+
env:
93+
JOB_TYPE: test
94+
GOOGLE_CLOUD_SPANNER_ENABLE_MULTIPLEXED_SESSIONS: true
7595
windows:
7696
runs-on: windows-latest
7797
steps:

0 commit comments

Comments
 (0)