Open slimreaper35 opened 5 months ago
My take on this is that an HTML artifact downloadable from a GH Action is completely acceptable. IDC so much about having some website anyone can go to for coverage reporting, it's more that I don't want to have to go through the hassle of inspecting a wall of log gibberish with a microscope and scalpel...
Haven't explored the possibilities myself yet, but if pytest doesn't support these artifacts natively, some common plugin needs to exist. Overall, @ben-alkov I like the idea of downloadable artifacts (if github allows it the same way as gitlab), so no objections from me there.
if github allows it the same way as gitlab
More-or-less, IIRC. It's not rocket science :grin:
Codecov looks pretty good
Posting here from Slack for transparency:
Thinking out loud here, but... it should be possible to push the coverage artifacts (and unit/integration test artifacts, for that matter) to e.g. 'cachi2.github.io'... in fact, the docs specifically mention using Actions as a publishing source.
Doing so would mean we wouldn't even need Codecov.
By "coverage artifacts", I mean the outputs of the coverage html
command ("unit/integration test artifacts" would require adding HTML output to pytest - out of scope for this issue); "the docs" refers to the GitHub Pages docs.
Does anyone prefer using GitHub Pages or Codecov?
⚠️ Official support for building Pages with Actions is in public beta at the moment.
Currently, we use the coveralls package to publish coverage stats online. It provides integration with pytest coverage. There has been no activity within the project on GitHub for a couple of years. It might be time to decide if we want to keep publishing coverage stats and, if so, look for another solution instead of coveralls.
Useful links: https://github.com/TheKevJames/coveralls-python https://github.com/TheKevJames/coveralls-python/issues/393 https://github.com/containerbuildsystem/cachi2/pull/481#discussion_r1519822031