File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 40
40
- name : Set argLine command line option
41
41
if : ${{ matrix.java == '11' }}
42
42
run : echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
43
+ - name : Run all tests
44
+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.java == '11' }}
45
+ run : echo 'ARG_LINE=-D"excludedGroups="' >> $GITHUB_ENV
43
46
- name : Skip tests that require illegal reflective access
44
47
if : ${{ matrix.os == 'ubuntu-latest' && matrix.java != '11' }}
45
48
run : echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess"' >> $GITHUB_ENV
50
53
run : ./mvnw help:active-profiles
51
54
- name : Test with Maven
52
55
if : ${{ matrix.os != 'windows-latest' }}
53
- run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"excludedGroups=" $ARG_LINE
56
+ run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ARG_LINE
54
57
- name : Test with Maven
55
58
if : ${{ matrix.os == 'windows-latest' && matrix.java == '11' }}
56
59
run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"
You can’t perform that action at this time.
0 commit comments