AngusMcLure / PoolPoweR

Power and sample size calculations for surveys using pool testing (AKA group testing)
GNU General Public License v3.0
0 stars 1 forks source link

Set up codecov.io #5

Closed fredjaya closed 11 months ago

fredjaya commented 1 year ago

For CI/CD of unit tests, coverage, maybe linting too?

fredjaya commented 1 year ago

check-standard implemented (but failing atm).

Worth including test-coverage and maybe lint.

Source: https://github.com/r-lib/actions/tree/v2/examples

fredjaya commented 1 year ago

@AngusMcLure Thoughts on getting codecov.io set up for this repo? It will provide metrics and reports on test coverage over time and the neat X% badge. However I don't have sufficient repo permissions to do so.

Some options around this include:

  1. Creating a GitHub organisation with my GH account in it
  2. Providing my account with admin rights to the repo
  3. Setting it up on your account

1 and 2 will I think link codecov to my account. 1 might be the most straightforward to make the organisation with PoolPoweR appear in the app when prompted, and could add PoolTestR and the Shiny app down the track.

Let me know what you think and I can look into some of the options in more detail

fredjaya commented 1 year ago

A few reasons against is the GitHub Action workflow already has a summary of the coverage results (currently >90%! ), the full in-line code report can be generated locally/before pushing, and that there will be more moving pieces to maintain.

fredjaya commented 1 year ago

As discussed, will look into this closer to CRAN release

fredjaya commented 11 months ago

codecov for the repo went online since making it public.

Could you grab the link for the badge please Angus? Instructions here

AngusMcLure commented 11 months ago

Done!