coverage table to the console

pull/14/head
sezanzeb 4 years ago
parent e315b74de4
commit f5369cfc75

@ -4,6 +4,7 @@ coverage_badge() {
# https://github.com/dbrgn/coverage-badge
coverage run --branch --source=/usr/lib/python3.8/site-packages/keymapper tests/test.py
python3 -m coverage_badge > readme/coverage.svg
coverage report -m
echo "coverage badge created"
}

@ -15,7 +15,7 @@
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
<text x="31.5" y="14">coverage</text>
<text x="80" y="15" fill="#010101" fill-opacity=".3">85%</text>
<text x="80" y="14">85%</text>
<text x="80" y="15" fill="#010101" fill-opacity=".3">84%</text>
<text x="80" y="14">84%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 904 B

After

Width:  |  Height:  |  Size: 904 B

Loading…
Cancel
Save