Skip to content

Commit

Permalink
Do not test Spring Boot 3 with JDK < 17
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan committed Jan 21, 2022
1 parent 47405a7 commit 782adb3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ jobs:
# Kotlin needs access to java.util
include:
- java: '8'
maven-opts: -pl '!spring/test/shedlock-springboot-future-test'
maven-opts: ''
maven-params: -pl '!spring/test/shedlock-springboot-future-test'
- java: '11'
maven-opts: -pl '!spring/test/shedlock-springboot-future-test'
maven-opts: ''
maven-params: -pl '!spring/test/shedlock-springboot-future-test'
- java: '17'
maven-opts: --add-opens java.base/java.util=ALL-UNNAMED
maven-params: ''
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
Expand All @@ -27,4 +30,4 @@ jobs:
- name: Build with Maven
env:
MAVEN_OPTS: ${{ matrix.maven-opts }}
run: mvn test javadoc:javadoc
run: mvn ${{ matrix.maven-params }} test javadoc:javadoc

0 comments on commit 782adb3

Please sign in to comment.