This gist has the JSON data for scriv's coverage badge.
It uses https://github.com/marketplace/actions/dynamic-badges to generate a JSON file that shields.io can render.
The image URL is: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/nedbat/5a304c1c779d4bcc57be95f847e9327f/raw/covbadge.json