-
-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (46 loc) · 1.13 KB
/
master.yml
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
36
37
38
39
40
41
42
43
44
45
46
name: master
on:
push:
branches:
- master
pull_request:
jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- name: Download repo
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Run unit tests
run: ./gradlew test
compat_tests:
runs-on: ubuntu-latest
strategy:
matrix:
java_version:
- "11"
- "21"
gradle_version:
- "4.10.3"
- "5.1.1"
- "5.6.4"
- "6.0.1"
- "6.9.4"
- "7.0.2"
- "7.6.3"
- "8.0.2"
- "8.4"
steps:
- name: Download repo
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
- name: Run Gradle compat tests for Gradle ${{ matrix.gradle_version }} on Java ${{ matrix.java_version }}
run: ./gradlew compatTestJava${{ matrix.java_version }}Gradle${{ matrix.gradle_version }}