Skip to content

Commit

Permalink
Merge pull request #2372 from harawata/drop-java-16
Browse files Browse the repository at this point in the history
[ci] Drop Java 16 (EOL)
  • Loading branch information
harawata committed Oct 31, 2021
2 parents 7c1f1fc + d821c1c commit 52bca18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [8, 11, 16, 17, 18-ea]
java: [8, 11, 17, 18-ea]
distribution: ['zulu']
fail-fast: false
max-parallel: 4
Expand All @@ -45,7 +45,7 @@ jobs:
restore-keys: |
${{ runner.os }}-m2
- name: Set argLine command line option
if: ${{ matrix.java == '11' || matrix.java == '16' }}
if: ${{ matrix.java == '11' }}
run: echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
- name: Skip tests that require illegal reflective access
if: ${{ matrix.os == 'ubuntu-latest' && (matrix.java == '17' || matrix.java == '18-ea' )}}
Expand All @@ -63,7 +63,7 @@ jobs:
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '8')}}
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"
- name: Test with Maven
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '11' || matrix.java == '16') }}
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '11') }}
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"
- name: Test with Maven
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '17' || matrix.java == '18-ea') }}
Expand Down

0 comments on commit 52bca18

Please sign in to comment.