From c4981397676b4334a281116e4210986d6bfa14a7 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Mon, 28 Jun 2021 12:37:12 -0500 Subject: [PATCH 1/2] CI on MacOS --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 781ce6aa..afed7d2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Projections CI -on: +on: pull_request: {} push: branches: @@ -8,10 +8,11 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: java: [8, 11, 15] + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Set up JDK @@ -21,4 +22,5 @@ jobs: - name: Build with Gradle run: gradle build - name: Run test + if: ${{ matrix.os }} == ubuntu-latest run: xvfb-run -e /dev/stdout -a make test From 7b863044a9858cbc9014e13f29de14a21e098673 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Mon, 28 Jun 2021 12:39:28 -0500 Subject: [PATCH 2/2] if --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index afed7d2e..612c7568 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,5 +22,5 @@ jobs: - name: Build with Gradle run: gradle build - name: Run test - if: ${{ matrix.os }} == ubuntu-latest + if: ${{ matrix.os == 'ubuntu-latest' }} run: xvfb-run -e /dev/stdout -a make test