Adds Feature #1568 - [OSGi] Opting in to Service Loader Mediator #21
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 -N wrapper:wrapper -Dmaven=3.6.3 --no-transfer-progress | |
- 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 --no-transfer-progress | |
env: | |
MAVEN_OPTS: "-Xmx1g" | |