-
Notifications
You must be signed in to change notification settings - Fork 17
33 lines (31 loc) · 792 Bytes
/
test.yml
File metadata and controls
33 lines (31 loc) · 792 Bytes
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
name: test
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 10
strategy:
matrix:
java: [ 14 ]
os: [ ubuntu ]
steps:
- name: Check out repo
uses: actions/checkout@v2.3.2
- name: Set up java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Gradle
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Run Gradle's test task
run: ./gradlew --no-daemon --parallel --continue --build-cache --stacktrace test