-
Notifications
You must be signed in to change notification settings - Fork 19
Description
1. Purpose
Codecov is a tool currently in Kaiaulu that provides metrics and insights into the coverage reports created by the covr package, which tracks displays total code coverage from the tests created with the testthat package. Codecov operates with both a global level yml file and a repository level yml file. Both these yml files allow Codecov to do things like comment on PRs, display coverage changes from PRs, enforce test coverage requirements in PRs, and distinguish between patch test coverage and repo-wide test coverage. The global yml file is what Codecov defaults to using across the whole organization. In this case, all projects under Sailuh, including Kaiaulu should be defaulting to this file. The repo level yml would take priority over the global yml, but it doesn't currently exist in Kaiaulu.
2. Process
For that reason, I would like to create a new codecov.yml file in the Kaiaulu repository to enforce better testing coverage standards on PRs. I would also configure it to display useful information in its PR comments, and take a look at its flag management system. In order to do this, I will iterate with @carlosparadis in order to find the best way to utilize Codecov for Kaiaulu.