-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3770 from kalaiyarasiganeshalingam/java21
Fix test failures with java 21
- Loading branch information
Showing
36 changed files
with
343 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Integration tests (Ubuntu, OpenJDK21) | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- id: 1 | ||
profile: tests-mediators_tests-other_tests-sample | ||
- id: 2 | ||
profile: tests-service_tests-patches_service-samples | ||
- id: 3 | ||
profile: tests-transport_tests-platform | ||
- id: 4 | ||
profile: management-api_dss-tests | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Cache Maven packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2 | ||
restore-keys: ${{ runner.os }}-m2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11.0.12+7' | ||
- name: check mvn version | ||
run: echo "MAVEN_VERSION=$(mvn -v)" | ||
- name: check java version | ||
run: echo "JAVA_VERSION=$(java -version)" | ||
- name: Set JAVA_TOOL_OPTIONS | ||
run: | | ||
NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED" | ||
echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $GITHUB_ENV | ||
- name: Build in jdk11 | ||
run: mvn clean install -DskipTests --file pom.xml | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '21.0.4' | ||
- name: check mvn version | ||
run: echo "MAVEN_VERSION=$(mvn -v)" | ||
- name: check java version | ||
run: echo "JAVA_VERSION=$(java -version)" | ||
- name: Print segment | ||
run: echo "Running build for segment ${{ matrix.profile }}" | ||
- name: JDK 21 Tests | ||
run: mvn clean install --file integration/pom.xml -P ${{ matrix.profile }} -fae |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.