Skip to content

Commit

Permalink
Move back to Java 8 for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Nov 19, 2021
1 parent fe715c0 commit 5699e58
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,8 @@ jobs:
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
uses: codecov/codecov-action@v2.1.0
# JDK 11+
- name: Maven Install without Code Coverage
if: matrix.os == 'windows' && !startsWith(matrix.java, '8')
- name: Maven Install without Code Coverage (Java 11+)
if: (!startsWith(matrix.java, '8'))
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
- name: Maven Install with Code Coverage
if: matrix.os != 'windows' && !startsWith(matrix.java, '8')
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"

0 comments on commit 5699e58

Please sign in to comment.