Skip to content

Commit 5fcf793

Browse files
committed
[actions] Run all tests for ubuntu jdk 11 using arglines
1 parent e625ace commit 5fcf793

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
- name: Set argLine command line option
4141
if: ${{ matrix.java == '11' }}
4242
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
4346
- name: Skip tests that require illegal reflective access
4447
if: ${{ matrix.os == 'ubuntu-latest' && matrix.java != '11' }}
4548
run: echo 'ARG_LINE=-D"excludedGroups=RequireIllegalAccess"' >> $GITHUB_ENV
@@ -50,7 +53,7 @@ jobs:
5053
run: ./mvnw help:active-profiles
5154
- name: Test with Maven
5255
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
5457
- name: Test with Maven
5558
if: ${{ matrix.os == 'windows-latest' && matrix.java == '11' }}
5659
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"

0 commit comments

Comments
 (0)