ipwnponies/pytest-antilru

Update coverage badge

Closed this issue · 3 comments

Coveralls is the service used for coverage. It's what the badge is displaying. We switched from traviscI to github actions #25 but did not update the coverag data upload.

See this blog entry that does exactly that: https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html
This generates the coverage badge dynamically using schneegans/dynamic-badges-action and uploads it to an mutable gist.

Here's a prototype for uploading coverage after running tests in github action: https://github.com/ipwnponies/pytest-antilru/actions/runs/5982593261/job/16231833167.
We need to fix tests first.

Actually https://github.com/marketplace/actions/coveralls-python seems to handle this all automatically.