SimpleCov, your test coverage files attached to each PR with GithubActions
Dec 15, 2020
Something small, I wanted to share, nice I just discovered while playing around with( Github Actions) on a new side learning project!
it’s a workaround to have your test coverage files attached to each PR.
- I am using SimpleCov for code coverage in a rails project( as it’s free )
https://github.com/simplecov-ruby/simplecov
- using Upload-Artifact from GitHub actions allow you to upload files/folder!
https://github.com/actions/upload-artifact
- include the coverage folder that runs on the CI(with the assets included)
in your CI.yml file
in your .gitignore file, please add!
I am not a professional Medium writer, but just wanted to share 😄