update badge jacoco coverage (svg file, badgen.net, shields.io etc or just text).
commits (as ${GITHUB_ACTOR}
) the latest svg doc/badges/coverage.svg file or covergate text value (or badge) in the readme file
- optional parameter
readmeFileName
- defaults toreadme.md
- optional parameter
jacocoFileName
- defaults totarget/site/jacoco/jacoco.xml
- define badge layout : _defaultGreenMinim 0.7 - green/_defaultMinim - yellow/less - red
- optional supportedTypes :
svg
,text
(markdown?),badge
- defaults tosvg
, text, or shields.io badge
- txt,badge support (update readme/commit), svg (update svg readme/commit)
- commit coverage to wiki ?
- extract md (separate action?) ?
- jacoco-md report ? (https://github.com/silviuilie/jacoco-md-ReportTask)
- add badge default (if not found - default path : doc/badges/coverage.svg, last coverage %) ?
- add coverage summary ?
- export coverage to MD ?
- modify original coverage (xml/html) summary to MD or
- svg/badge should have same threshold for coverage style (green/yellow/red)
- default minimum coverage :
0.6
; coverage badge will be 'green' when the total coverage > 'minim' configured value and total coverage >= from previous coverage value svg : green/yellow/red - badge green:url/yellow:url/red:url (defaults)
- text : coverage :
- default minimum coverage :
- 00.00%
+ 99.00%
! text in orange
or
coverage : [
python : https://github.com/cicirello/jacoco-badge-generator?tab=readme-ov-file (badge samples)