File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 9191 - name : Integration Tests
9292 run : |
9393 bazelisk --batch test //test/integration/...
94+ build-java-24 :
95+ name : " build(24) except self-service clients"
96+ # Support for Java 24 is available for all use cases except self-service clients.
97+ runs-on : ubuntu-22.04
98+ steps :
99+ - uses : actions/checkout@v4
100+ - uses : actions/setup-java@v4
101+ with :
102+ java-version : 24
103+ distribution : temurin
104+ cache : maven
105+ - run : java -version
106+ - name : Unit Tests
107+ run : |
108+ mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \
109+ -Dfmt.skip -DenableTestCoverage
110+ # The `envVarTest` profile runs tests that require an environment variable
111+ - name : Env Var Tests
112+ run : |
113+ mvn test --batch-mode --no-transfer-progress -Dcheckstyle.skip \
114+ -Dfmt.skip -DenableTestCoverage -PenvVarTest
115+ # Set the Env Var for this step only
116+ env :
117+ GOOGLE_CLOUD_UNIVERSE_DOMAIN : random.com
118+ GOOGLE_CLOUD_ENABLE_DIRECT_PATH_XDS : true
119+ GOOGLE_SDK_JAVA_LOGGING : true
120+ - run : bazelisk version
121+ - name : Install Maven modules
122+ run : |
123+ mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
124+ - name : Integration Tests
125+ run : |
126+ bazelisk --batch test //test/integration/...
94127 build-java8-except-gapic-generator-java :
95128 name : " build(8) except for gapic-generator-java"
96129 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 2525 strategy :
2626 fail-fast : false
2727 matrix :
28- java : [11, 17, 21]
28+ java : [11, 17, 21, 24 ]
2929 steps :
3030 - uses : actions/checkout@v4
3131 - uses : actions/setup-java@v4
You can’t perform that action at this time.
0 commit comments