Skip to content

Commit

Permalink
Added Jacoco Report GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LauroSilveira committed Oct 11, 2023
1 parent 9479a70 commit 94d1d53
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 29 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,16 @@ jobs:
with:
name: Test Reporter Summary
path: target/surefire-reports/*.xml
reporter: java-junit
reporter: java-junit

## Jacoco report
- name: Add coverage to PR
id: jacoco
uses: madrapps/jacoco-report@v1.6.1
with:
paths: |
${{ github.workspace }}/**/build/reports/jacoco/prodNormalDebugCoverage/prodNormalDebugCoverage.xml,
${{ github.workspace }}/**/build/reports/jacoco/**/debugCoverage.xml
token: ${{ secrets.SECRET_TOKEN }}
min-coverage-overall: 40
min-coverage-changed-files: 60
28 changes: 0 additions & 28 deletions .github/workflows/docker-image.yml

This file was deleted.

0 comments on commit 94d1d53

Please sign in to comment.