From ef27f5c84b2f0612d262ae800d127f6f5b53004b Mon Sep 17 00:00:00 2001 From: rafearnold Date: Fri, 26 Jul 2024 17:14:51 +0100 Subject: [PATCH] don't run spotless check on windows ci. --- .github/workflows/build-and-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 2a38c9e..0c5fb14 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -40,9 +40,13 @@ jobs: restore-keys: ${{ runner.os }}-gradle - name: Test - if: ${{ !(matrix.os == 'ubuntu-latest' && matrix.jdk == 11 && github.event_name == 'push') }} + if: ${{ !(matrix.os == 'ubuntu-latest' && matrix.jdk == 11 && github.event_name == 'push') && matrix.os != 'windows-latest' }} run: ./gradlew check --stacktrace --no-daemon + - name: Test-Windows + if: ${{ matrix.os != 'windows-latest' }} + run: ./gradlew check --stacktrace --no-daemon -x spotlessCheck + - name: Archive test report - ${{ matrix.os }} JDK ${{ matrix.jdk }} if: always() uses: actions/upload-artifact@v2