Skip to content

Commit

Permalink
4.x: add tests for multiple JDK releases helidon-io#8735
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
  • Loading branch information
jbescos committed May 13, 2024
1 parent 74d06e7 commit 434b047
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ env:
HELIDON_PIPELINES: 'true'
MAVEN_HTTP_ARGS: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dmaven.wagon.http.retryHandler.count=3'

strategy:
matrix:
java_version: [ ${{ env.JAVA_VERSION }} latest ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -79,11 +83,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: etc/scripts/github-build.sh
Expand All @@ -99,7 +103,7 @@ jobs:
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: |
Expand All @@ -115,11 +119,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Maven build
run: etc/scripts/mp-tck.sh
Expand All @@ -131,11 +135,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ env.JAVA_VERSION }}
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4.1.0
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
java-version: ${{ matrix.java_version }}
cache: maven
- name: Test archetypes
run: etc/scripts/test-archetypes.sh
Expand Down

0 comments on commit 434b047

Please sign in to comment.