fixed coverage badge

pull/14/head
sezanzeb 4 years ago
parent a0744fd155
commit 5e5784a28e

@ -9,13 +9,13 @@
</mask>
<g mask="url(#a)">
<path fill="#555" d="M0 0h63v20H0z"/>
<path fill="#a4a61d" d="M63 0h36v20H63z"/>
<path fill="#97CA00" d="M63 0h36v20H63z"/>
<path fill="url(#b)" d="M0 0h99v20H0z"/>
</g>
<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">76%</text>
<text x="80" y="14">76%</text>
<text x="80" y="15" fill="#010101" fill-opacity=".3">90%</text>
<text x="80" y="14">90%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 904 B

After

Width:  |  Height:  |  Size: 904 B

@ -3,8 +3,8 @@
coverage_badge() {
# https://github.com/dbrgn/coverage-badge
coverage run tests/test.py
python3 -m coverage_badge > readme/coverage.svg
coverage combine
python3 -m coverage_badge > readme/coverage.svg
coverage report -m
echo "coverage badge created"
}

Loading…
Cancel
Save