aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 4f896e588d7c07dc3b5f9ac8918626661a41ec26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Test
on:
  push:
    branches: [ main, f-simple-javaExec-task-alternative ]
  pull_request:
    branches: [ main ]
  workflow_dispatch:

jobs:
  ci:
    name: ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [macos-10.15, ubuntu-20.04, windows-2019]

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v2.3.4

      - name: Run Tests
        run: |
          if [ "$RUNNER_OS" = "Windows" ]; then
            gradlew.bat clean check
          else
            ./gradlew clean check
          fi