2020-06-08 14:19:11 +00:00
|
|
|
name: Run Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
gradle:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-20.04, windows-latest]
|
2020-07-14 23:52:58 +00:00
|
|
|
gradle-version: [4.9, 4.10.2, 6.5, 6.6-rc-1]
|
2020-06-08 14:19:11 +00:00
|
|
|
java-version: [1.8, 11, 14]
|
|
|
|
exclude: # Dont run older gradle versions on newer java
|
|
|
|
- java-version: 14
|
|
|
|
gradle-version: 4.9
|
|
|
|
- java-version: 14
|
|
|
|
gradle-version: 4.10.2
|
|
|
|
- java-version: 14
|
|
|
|
gradle-version: 5.6.4
|
|
|
|
- java-version: 11
|
|
|
|
gradle-version: 4.9
|
|
|
|
- java-version: 11
|
|
|
|
gradle-version: 4.10.2
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-07-16 17:16:39 +00:00
|
|
|
- uses: gradle/wrapper-validation-action@v1
|
2020-06-08 14:19:11 +00:00
|
|
|
- uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: ${{ matrix.java-version }}
|
|
|
|
- uses: eskatos/gradle-command-action@v1
|
|
|
|
with:
|
|
|
|
gradle-version: ${{ matrix.gradle-version }}
|
2020-07-14 23:52:58 +00:00
|
|
|
arguments: build check test --stacktrace
|