Skip to content

Commit

Permalink
Merge pull request #1299 from bitwiseman/task/java11
Browse files Browse the repository at this point in the history
Move coverage to Java 11
  • Loading branch information
bitwiseman authored Nov 17, 2021
2 parents 50d4ae6 + ccf8685 commit aad8b9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 8, 11 ]
java: [ 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand Down Expand Up @@ -90,9 +90,6 @@ jobs:
- name: Maven Install with Code Coverage
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
run: mvn -B clean install -D enable-ci --file pom.xml
- name: Codecov Report
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
uses: codecov/[email protected]
# JDK 11+
- name: Maven Install without Code Coverage
if: matrix.os == 'windows' && !startsWith(matrix.java, '8')
Expand All @@ -104,3 +101,6 @@ jobs:
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
- name: Codecov Report
if: matrix.os != 'windows' && startsWith(matrix.java, '11')
uses: codecov/[email protected]

0 comments on commit aad8b9a

Please sign in to comment.