which codecov yaml to use


I would like to add code coverage to my R package with automated updating of the coverage using GitHub Actions. I saw that there is a template, which I have now used: usethis::use_github_action("test-coverage").

However, there is also an example workflow yaml file on codecov itself that seems simpler: link Will they achieve the same?


No, they are not the same. For R packages use the one here:

The next (current dev) version of usethis will use the same file, and once that is released, usethis will be the best way of adding these workflows.

1 Like

Thanks, appreciate it!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.