Skip to content

Run compatibility tests against Java 21 #59

Run compatibility tests against Java 21

Run compatibility tests against Java 21 #59

Workflow file for this run

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:
- "8"
- "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'
# Version required to run the `./gradlew` command. The tests themselves use the version provided via `java_version`
java-version: '11'
- 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 }} --stacktrace