Skip to content

Commit b3c4637

Browse files
Use GitHub action for Jacoco coverage summary
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
1 parent d19022b commit b3c4637

File tree

2 files changed

+3
-73
lines changed

2 files changed

+3
-73
lines changed

.github/scripts/jacoco2markdown.sh

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ jobs:
175175
run: make unit-test-java
176176
- name: Coverage report
177177
if: ${{ matrix.coverage }}
178-
run: |
179-
echo '### Unit test coverage' >> ${GITHUB_STEP_SUMMARY}
180-
${{ github.workspace }}/.github/scripts/jacoco2markdown.sh java/target/site/jacoco/jacoco.csv >> ${GITHUB_STEP_SUMMARY}
178+
uses: bestbeforetoday/jacoco-summary-action@v1
179+
with:
180+
coverage-file: java/target/site/jacoco/jacoco.csv
181181

182182
java_scenario:
183183
needs: verify-versions

0 commit comments

Comments
 (0)