Skip to content

Commit

Permalink
Update test_coverage_badge.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbilan authored Dec 30, 2024
1 parent 3bd534d commit 060dd72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/test_coverage_badge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else
fi

echo "<svg xmlns='http://www.w3.org/2000/svg' width='150' height='20'>
<rect width='100' height='20' fill='#555'/>
<rect x='100' width='50' height='20' fill='${COLOR}'/>
<rect width='100' height='20' fill='#555' rx='3' ry='3'/>
<rect x='100' width='50' height='20' fill='${COLOR}' rx='3' ry='3'/>
<text x='50' y='14' fill='#fff' font-family='Verdana' font-size='11' text-anchor='middle'>Test Coverage</text>
<text x='125' y='14' fill='#fff' font-family='Verdana' font-size='11' text-anchor='middle'>${COVERAGE}%</text>
</svg>" > .badges/test_coverage.svg
</svg>" > .badges/test_coverage.svg

0 comments on commit 060dd72

Please sign in to comment.