I'm converting various Jenkins CI/CD pipelines to GitHub Actions. In Jenkins, you can publish an HTML artifact. The HTML will be viewable in the browser from the Artifacts tab.
This works great for code coverage reports: you can have your PHPUnit run generate a report in HTML format, then publish that directory as an artifact, and anyone can click in and see the report from the pipeline.
I would like to set up something similar in GitHub Actions.
So far, all I've been able to do is publish the coverage HTML with actions/upload-artifact@v3. To view the report, you have to download and unzip the artifact, then open the report on your own computer.
Those extra steps are an annoyance I'd like to avoid, since they add friction to the feedback cycle and review process.
What is the easiest/best way of showing the user a code coverage report that was generated with GitHub Actions in-browser? Will I have to write my own solution to host the files somewhere? Or is this a problem that's been solved already?
Solutions that don't work
peaceiris/actions-gh-pages@v3: Publishing the report to GitHub Pages won't work because it needs to be private, there will be multiple repositories, and we'll need to view reports for more than just the latest run.irongut/CodeCoverageSummary,ArtiomTr/jest-coverage-report-action, and similar: These actions create summaries that can be auto-commented onto the PR. I don't need just the summary, I need the full line-by-line report.
