24
24
strategy :
25
25
matrix :
26
26
os : [ubuntu-latest, macOS-latest, windows-latest]
27
- java : [8, 11, 17, 18-ea]
27
+ java : [8, 11, 17, 18-ea, 19-ea ]
28
28
distribution : ['zulu']
29
29
fail-fast : false
30
30
max-parallel : 4
@@ -48,23 +48,23 @@ jobs:
48
48
if : ${{ matrix.java == '11' }}
49
49
run : echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
50
50
- 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 ' )}}
52
52
run : echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess"' >> $GITHUB_ENV
53
53
- 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 ' )}}
55
55
run : echo 'ARG_LINE=-D"excludedGroups=TestcontainersTests,RequireIllegalAccess"' >> $GITHUB_ENV
56
56
- name : Set env command line option
57
57
if : ${{ matrix.os == 'ubuntu-latest' }}
58
58
run : echo 'ENV_GITHUB="-Denv.GITHUB"' >> $GITHUB_ENV
59
59
- name : Test with Maven
60
60
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
62
62
- name : Test with Maven
63
63
if : ${{ matrix.os == 'windows-latest' && (matrix.java == '8')}}
64
64
run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"
65
65
- name : Test with Maven
66
66
if : ${{ matrix.os == 'windows-latest' && (matrix.java == '11') }}
67
67
run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"
68
68
- 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 ') }}
70
70
run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"excludedGroups=TestcontainersTests,RequireIllegalAccess"
0 commit comments