pharmaverse / sdtmchecks

Analysis facing checks for SDTM data
https://pharmaverse.github.io/sdtmchecks/
Apache License 2.0
21 stars 8 forks source link

speeding up CI/CD #389

Open sarabodach opened 1 month ago

sarabodach commented 1 month ago

@harriscw identified CI/CD takes ~6 min with the dependencies installation for R CMD Check on PR to devel, on PR to main, and after merge to main and asked about speeding up CI/CD.

Advice from @cicdguy --

Have you tried setting cache: always?

Looking at https://github.com/r-lib/actions/commit/96b1dc658a45175f93ed5f33fda2b2cebbb12ee8, it looks like they introduced "warm" caches.
harriscw commented 1 month ago

this is probably where updates would happen: https://github.com/pharmaverse/sdtmchecks/blob/devel/.github/workflows/R-CMD-check.yml

cicdguy commented 1 month ago

@laywang142 - please delete your comment. We don't want internal references being exposed in a public setting.

laywang142 commented 1 month ago

Deleted. Sorry about that @harriscw

laywang142 commented 1 month ago

GitHub cache documentation

more resources