Testsuite: add a profile for TomEE11M1 and JakartaEE11 #631
Workflow file for this run
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| merge_group: | |
| types: [ checks_requested ] | |
| jobs: | |
| ci: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| # Keep this list as: all supported LTS JDKs, the latest GA JDK, and the latest EA JDK (optional). | |
| # Reference: https://adoptium.net/support/ | |
| java: | |
| - 17 | |
| - 21 | |
| - 25 | |
| - 26 | |
| container: | |
| # Build warp wíth the Jakarta EE 10 api and use the Jakarta EE 10 WildFly server: | |
| - wildfly-managed | |
| # Build warp with the Jakarta EE 11 api and run it using the default wildfly server: | |
| - jakartaee11,wildfly-jakartaee11-managed | |
| - glassfish-managed | |
| - tomee-managed | |
| # Build warp with the Jakarta EE 11 API and run it using the glassfish 8 server: | |
| - jakartaee11,glassfish-jakartaee11-managed | |
| # Build warp with the Jakarta EE 11 API and run it using the TomEE 11 server: | |
| - jakartaee11,tomee-jakartaee11-managed | |
| exclude: | |
| # GlassFish 8 does not support Java 17 | |
| - java: 17 | |
| container: jakartaee11,glassfish-jakartaee11-managed | |
| # GlassFish 7 and 8 do not support Java 26: https://github.com/eclipse-ee4j/glassfish/pull/25978 | |
| - java: 26 | |
| container: glassfish-managed | |
| - java: 26 | |
| container: jakartaee11,glassfish-jakartaee11-managed | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: maven | |
| - name: Build with Maven | |
| run: ./mvnw --batch-mode --no-transfer-progress --activate-profiles ${{ matrix.container }} clean verify | |
| - uses: actions/upload-artifact@v7 | |
| if: failure() | |
| with: | |
| name: surefire-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.container }} | |
| path: '**/surefire-reports/*.txt' |