Merge pull request #1585 from motlin/maven-3.9.6 #1644
This file contains 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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Unit Tests No P2 | |
on: [push, pull_request] | |
jobs: | |
applications: | |
name: Unit Test ${{ matrix.java-version }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java-version: [17, 21, 22] | |
runs-on: ${{ matrix.os }} | |
env: | |
JAVA_VERSION: ${{ matrix.java-version }} | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Set Maven Wrapper | |
run: mvn --non-recursive wrapper:wrapper -Dmaven=3.9.6 | |
- name: Set JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Unit-Test | |
run: ./mvnw verify -pl '!p2-repository,!org.eclipse.collections:org.eclipse.collections' | |
env: | |
MAVEN_OPTS: "-Xmx1g" |