Skip to content

Commit a24595b

Browse files
committed
Added JDK version 19-ea to the matrix
1 parent a1b5c32 commit a24595b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 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, 17, 18-ea]
27+
java: [8, 11, 17, 18-ea, 19-ea]
2828
distribution: ['zulu']
2929
fail-fast: false
3030
max-parallel: 4
@@ -48,23 +48,23 @@ jobs:
4848
if: ${{ matrix.java == '11' }}
4949
run: echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
5050
- name: Skip tests that require illegal reflective access
51-
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.java == '17' || matrix.java == '18-ea' )}}
51+
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.java != '8' && matrix.java != '11' )}}
5252
run: echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess"' >> $GITHUB_ENV
5353
- name: Skip tests that require illegal reflective access
54-
if: ${{ matrix.os != 'ubuntu-latest' && (matrix.java == '17' || matrix.java == '18-ea' )}}
54+
if: ${{ matrix.os != 'ubuntu-latest' && (matrix.java != '8' && matrix.java != '11' )}}
5555
run: echo 'ARG_LINE=-D"excludedGroups=TestcontainersTests,RequireIllegalAccess"' >> $GITHUB_ENV
5656
- name: Set env command line option
5757
if: ${{ matrix.os == 'ubuntu-latest' }}
5858
run: echo 'ENV_GITHUB="-Denv.GITHUB"' >> $GITHUB_ENV
5959
- name: Test with Maven
6060
if: ${{ matrix.os != 'windows-latest' }}
61-
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_GITHUB $ARG_LINE
61+
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_GITHUB $ARG_LINE
6262
- name: Test with Maven
6363
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '8')}}
6464
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"
6565
- name: Test with Maven
6666
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '11') }}
6767
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"
6868
- name: Test with Maven
69-
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '17' || matrix.java == '18-ea') }}
69+
if: ${{ matrix.os == 'windows-latest' && (matrix.java != '8' && matrix.java != '11') }}
7070
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"excludedGroups=TestcontainersTests,RequireIllegalAccess"

0 commit comments

Comments
 (0)