blob: 90d2c8b7b8450268783777f96d98199770b1e0c7 (
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
29
30
31
32
33
34
35
|
name: Test
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
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: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: 'adopt-openj9'
java-version: '11'
- name: Run Unit & Functional Tests
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
./gradlew.bat clean check
else
./gradlew clean check
fi
shell: bash
|