From 3c1d1f9693fdcde0fdeb08aef04fc971a3340455 Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Tue, 2 Jun 2020 14:06:50 +0200 Subject: [PATCH] Run only on Java 11 with MacOS because the resources are limited by GitHub Actions --- .github/workflows/verify.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 258af028..d0c718b7 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -20,12 +20,12 @@ name: Linux & Windows CI on: [push, pull_request] jobs: - verify: + verify-linux-and-windows: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ ubuntu-18.04, macos-10.15, windows-2019 ] + os: [ ubuntu-18.04, windows-2019 ] java: [ 8, 11, 14 ] steps: - uses: actions/checkout@v1 @@ -35,3 +35,18 @@ jobs: java-version: ${{ matrix.java }} - name: Build with Maven run: ./mvnw clean verify -B -ntp + verify-macos: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ macos-10.15 ] + java: [ 11 ] + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build with Maven + run: ./mvnw clean verify -B -ntp