Skip to content

Commit aacbaf4

Browse files
committed
add(#751): add coverage report
1 parent 4226a05 commit aacbaf4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yml

+19
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,22 @@ jobs:
2121
# Run Tests
2222
- name: Run Tests
2323
run: docker-compose -f "docker-compose.test.yml" up --build
24+
25+
- name: Code Coverage Report
26+
uses: irongut/[email protected]
27+
with:
28+
filename: ./temp/testresults/coverage.xml
29+
badge: true
30+
fail_below_min: true
31+
format: markdown
32+
hide_branch_rate: false
33+
hide_complexity: true
34+
indicators: true
35+
output: both
36+
thresholds: '60 80'
37+
- name: Add Coverage PR Comment
38+
uses: marocchino/sticky-pull-request-comment@v2
39+
if: github.event_name == 'pull_request'
40+
with:
41+
recreate: true
42+
path: code-coverage-results.md

0 commit comments

Comments
 (0)