Skip to content

Commit

Permalink
MODCLUSTER-795 Publish JaCoCo code coverage reports through CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rhusar committed Mar 22, 2024
1 parent 347ec21 commit db1df8e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -29,5 +29,11 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven using JDK ${{ matrix.java }}
run: mvn -B verify
- name: Build (with coverage) with Maven using JDK ${{ matrix.java }}
run: mvn -B verify -P coverage
- name: Upload JaCoCo report
uses: actions/upload-artifact@v2
if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest'}}
with:
name: jacoco
path: code-coverage/target/site/jacoco-aggregate

0 comments on commit db1df8e

Please sign in to comment.