From 653d5e7c832b33b793d110b0feea549a2604eb65 Mon Sep 17 00:00:00 2001 From: Carl Dea Date: Wed, 9 Dec 2020 23:13:48 -0500 Subject: [PATCH] Test on Java versions on Linux, Windows and MacOS. (#1458) Signed-off-by: Carl Dea --- .github/workflows/test-java-versions.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-java-versions.yml diff --git a/.github/workflows/test-java-versions.yml b/.github/workflows/test-java-versions.yml new file mode 100644 index 0000000000..2b8fb5a655 --- /dev/null +++ b/.github/workflows/test-java-versions.yml @@ -0,0 +1,22 @@ +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + java: [8, 9, 11, 12, 13, 15, 16-ea] + fail-fast: false + max-parallel: 4 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + + - name: Verify with Maven + run: mvn -X verify -B --file pom.xml +...