Skip to content

Commit

Permalink
don't run spotless check on windows ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
RafeArnold committed Jul 26, 2024
1 parent 397a19c commit ef27f5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef27f5c

Please sign in to comment.