Test management in GitHub
Unfortunately, GitHub doesn't have a great way to track your test runs and code coverage over time, nor can it help you detect or quarantine flaky tests. You can execute your tests as part of your workflow and can signal back the result – but for reporting, you have to rely on your test tooling.
A good solution that integrates well with GitHub is Testspace (https://www.testspace.com/). It is a SaaS offering and is free for open source projects. It's easy to set up – just install the extension from the marketplace (https://github.com/marketplace/testspace-com), select the plan you want, and grant access to your repositories. Then, add the following step to your workflow:
- uses: testspace-com/setup-testspace@v1
with:
domain: ${{github.repository_owner}}
If your repository is private, then you must create a token in Testspace and add it as a secret to that step as well: token: ${{ secrets...