Skip to content

Commit

Permalink
Scheduled GH job for 4.x shall test both ISPN-13 and ISPN-14
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tsegismont committed Sep 4, 2023
1 parent 2845be4 commit f3e6f73
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci-4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
os:
default: ubuntu-latest
type: string
profile:
default: ISPN-13
type: string
jobs:
Test:
name: Run tests
Expand All @@ -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

0 comments on commit f3e6f73

Please sign in to comment.