Skip to content

[maven-release-plugin] prepare for next development iteration #274

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #274

Workflow file for this run

name: Maven
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17, 19 ]
jakarta: [ 9, 10 ]
name: Build w/o tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
unit-test:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
java: [ 17, 19 ]
jakarta: [ 9, 10 ]
name: Unit tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
- run: ./mvnw --batch-mode test -P EE${{ matrix.jakarta }}
integration-test:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
java: [ 17 ]
container: [ 'WILDFLY_MANAGED', 'WILDFLY_REMOTE', 'PAYARA_MANAGED' ]
jakarta: [ 9, 10 ]
name: Integration tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }}, Container ${{ matrix.container }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw -V --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
- run: ./mvnw -V --batch-mode -P ${{ matrix.container }},EE${{ matrix.jakarta }} verify