Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange caching steps to optimise speed #121

Open
bschilder opened this issue Nov 17, 2023 · 1 comment
Open

Rearrange caching steps to optimise speed #121

bschilder opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request GitHub Actions Issue occurring on GitHub Actions

Comments

@bschilder
Copy link
Collaborator

As I've gone and added more and more steps to the rworkflows actions, I haven't really paid much attention to the R package caching steps. These were originally adapted from biocthis, and use the actions/cache action.

I'm now reevaluating these steps in their current context and trying to rearrange them to improve overall speed.

master branch (before):
https://github.com/neurogenomics/rworkflows/blob/master/action.yml
dev branch (latest tests):
https://github.com/neurogenomics/rworkflows/blob/dev/action.yml

Something I noticed in biocthis is that caching doesn't occur on Linux. I'm assuming there's a reason for this, but I'm not sure what it is. Would you mind elaborating on this @lcolladotor ?

https://github.com/lcolladotor/biocthis/blob/d86021c7e642a684240bcdfd67dd371198988f48/.github/workflows/check-bioc.yml#L104

@bschilder bschilder self-assigned this Nov 17, 2023
@bschilder bschilder added GitHub Actions Issue occurring on GitHub Actions enhancement New feature or request labels Nov 17, 2023
@bschilder
Copy link
Collaborator Author

I'd also like to explore caching software other than just R packages (eg system deps, latex packages). I'm not certain, but I don't this is being done currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GitHub Actions Issue occurring on GitHub Actions
Projects
None yet
Development

No branches or pull requests

1 participant