From f3e6f73cb468f7e6174a5efaed8f9a72d931b928 Mon Sep 17 00:00:00 2001 From: Thomas Segismont Date: Mon, 4 Sep 2023 18:26:50 +0200 Subject: [PATCH] Scheduled GH job for 4.x shall test both ISPN-13 and ISPN-14 The scheduled build of Vert.x 4 is defined in the main branch. Following-up on #131, we must configure this job to run the same tests as for pull requests and commits to the 4.x branch. Signed-off-by: Thomas Segismont --- .github/workflows/ci-4.x.yml | 13 ++++++++++--- .github/workflows/ci.yml | 17 +++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-4.x.yml b/.github/workflows/ci-4.x.yml index c7eda91..8f0ac87 100644 --- a/.github/workflows/ci-4.x.yml +++ b/.github/workflows/ci-4.x.yml @@ -6,9 +6,16 @@ jobs: CI: strategy: matrix: - include: - - os: ubuntu-latest - jdk: 8 + os: [ubuntu-latest] + jdk: [8,11] + profile: [ISPN-13, ISPN-14, ISPN-14-jakarta] + exclude: + - jdk: 8 + profile: ISPN-14 + - jdk: 8 + profile: ISPN-14-jakarta + - jdk: 11 + profile: ISPN-13 uses: ./.github/workflows/ci.yml with: branch: 4.x diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 896550d..4970137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,9 @@ on: os: default: ubuntu-latest type: string + profile: + default: ISPN-13 + type: string jobs: Test: name: Run tests @@ -32,3 +35,17 @@ jobs: with: name: heap-dump path: target/*.hprof + Test-ISPN14: + if: ${{ startsWith(github.event.inputs.profile, 'ISPN-14') }} + name: Run tests + runs-on: ${{ inputs.os }} + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install JDK + uses: actions/setup-java@v2 + with: + java-version: ${{ inputs.jdk }} + distribution: temurin + - name: Run tests + run: mvn -P ${{ inputs.profile }} -s .github/maven-ci-settings.xml -B -DtestLogLevel=OFF test