Skip to content

Commit

Permalink
Run coverage report on JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfeng committed Jan 13, 2023
1 parent 8aed515 commit 66b761a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ jobs:
with:
distribution: 'temurin'
java-version: 11
- name: Build with Maven
run: ./mvnw -T1C -B -ntp clean install -DskipTests
- name: Setup JDK 8 for Test
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
- name: Test with Maven
run: ./mvnw -T1C -B -ntp clean install cobertura:cobertura -Djacoco.skip=false
run: ./mvnw -T1C -B -ntp test cobertura:cobertura -Djacoco.skip=false -Denforcer.skip=true
- name: Upload to Codecov
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit 66b761a

Please sign in to comment.