2020-06-08 14:19:11 +00:00
|
|
|
name: Run Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
gradle:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-02-14 13:56:22 +00:00
|
|
|
gradle: [4.9, 4.10.2, 6.8.2]
|
2020-11-15 17:32:57 +00:00
|
|
|
java: [jdk8, jdk11, jdk15]
|
2020-06-08 14:19:11 +00:00
|
|
|
exclude: # Dont run older gradle versions on newer java
|
2020-11-15 17:32:57 +00:00
|
|
|
- java: jdk15
|
2020-07-26 23:09:42 +00:00
|
|
|
gradle: 4.9
|
2020-11-15 17:32:57 +00:00
|
|
|
- java: jdk15
|
2020-07-26 23:09:42 +00:00
|
|
|
gradle: 4.10.2
|
|
|
|
- java: jdk11
|
|
|
|
gradle: 4.9
|
|
|
|
- java: jdk11
|
|
|
|
gradle: 4.10.2
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
container:
|
|
|
|
image: gradle:${{ matrix.gradle }}-${{ matrix.java }}
|
|
|
|
options: --user root
|
2020-06-08 14:19:11 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-07-16 17:16:39 +00:00
|
|
|
- uses: gradle/wrapper-validation-action@v1
|
2020-07-26 23:09:42 +00:00
|
|
|
- run: gradle build check test --stacktrace
|
2021-02-14 13:56:22 +00:00
|
|
|
|
|
|
|
gradle_pre_release:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
container:
|
|
|
|
image: openjdk:8-jdk
|
|
|
|
options: --user root
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- run: ./gradlew wrapper --gradle-version=7.0-milestone-1
|
|
|
|
- run: ./gradlew build check test --stacktrace --warning-mode fail
|
|
|
|
env:
|
|
|
|
TEST_WARNING_MODE: fail
|