Skip to content

Commit 0cd31c6

Browse files
committed
Trying to run CI build with Java 17-ea
1 parent 0262a99 commit 0cd31c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-latest, macOS-latest, windows-latest]
27-
java: [8, 11, 15, 16]
27+
java: [8, 11, 15, 16, 17-ea]
2828
fail-fast: false
2929
max-parallel: 4
3030
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
@@ -42,5 +42,9 @@ jobs:
4242
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
4343
restore-keys: |
4444
${{ runner.os }}-maven-
45+
- name: Java early access workaround
46+
if: ${{ endsWith(matrix.java, '-ea') }}
47+
env:
48+
JACOCO_SKIP="-Djacoco.skip=true"
4549
- name: Test with Maven
46-
run: ./mvnw test -B -D"license.skip=true"
50+
run: ./mvnw test -B -D"license.skip=true" $JACOCO_SKIP

0 commit comments

Comments
 (0)