Merge pull request #289 from mybatis/renovate/junit5-monorepo #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: [workflow_dispatch, push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
cache: [maven] | |
distribution: [temurin] | |
java: [17, 21, 22, 23-ea] | |
os: [ubuntu-latest, macos-latest] | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }} | |
uses: actions/setup-java@v4 | |
with: | |
cache: ${{ matrix.cache }} | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
- name: Start Redis | |
uses: shogo82148/[email protected] | |
with: | |
redis-version: latest | |
- name: Test with Maven | |
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true" |