Cherry-Pick changes in pull request #7 "Refactor proposal". #32
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
name: Run JUnit tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java: [ 17 ] | |
arch: [ x64 ] | |
dist: [ zulu ] | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
architecture: ${{ matrix.arch }} | |
distribution: ${{ matrix.dist }} | |
- name: Show where Java Home is | |
run: echo JAVA_HOME=$JAVA_HOME | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots --errors package |