Skip to content

Commit 479c100

Browse files
committed
added report generator and publisher
1 parent e24c2cb commit 479c100

File tree

3 files changed

+425
-9
lines changed

3 files changed

+425
-9
lines changed

.github/workflows/analysis.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,8 @@ jobs:
100100
pwd
101101
ls -l ./client-v2/target/site/jacoco-aggregate/jacoco.xml
102102
continue-on-error: true
103-
- name: Add coverage to PR
104-
id: jacoco
105-
uses: madrapps/[email protected]
106-
with:
107-
paths: ${{ github.workspace }}/client-v2/target/site/jacoco-aggregate/jacoco.xml
108-
token: ${{ secrets.GITHUB_TOKEN }}
109-
min-coverage-overall: 40
110-
min-coverage-changed-files: 60
111-
debug-mode: 'true'
103+
- name: Generate and post coverage report
104+
env:
105+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106+
run: |
107+
node jacoco-report-generator.js client-v2/target/site/jacoco/jacoco.csv coverage.md --pr ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)