Skip to content

Commit

Permalink
Test on Java versions on Linux, Windows and MacOS. (#1458)
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Dea <carl.dea@gmail.com>
  • Loading branch information
carldea authored Dec 10, 2020
1 parent 89580cc commit 653d5e7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-java-versions.yml
Original file line number Diff line number Diff line change
@@ -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
...

0 comments on commit 653d5e7

Please sign in to comment.