From 8b6ccda1346562d92deed051c16d714a644b45f0 Mon Sep 17 00:00:00 2001 From: Geertjan Wielenga Date: Mon, 24 Aug 2020 13:37:23 +0200 Subject: [PATCH] Create maven.yml --- .github/workflows/maven.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000000..a680c737d3 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,23 @@ +name: Java CI + +on: [push] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-18.04, windows-2016] + java: [7, 7.0.232, 8, 8.0.192] + fail-fast: false + max-parallel: 3 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Test with Maven + run: mvn test -B --file pom.xml