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

[r] cache most R dependencies to speed up r-check CI #517

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/r-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:
with:
working-directory: ./api/r/cellxgene.census
extra-packages: any::rcmdcheck, any::styler, any::roxygen2
needs: check
# Disable dependency caching so long as we depend on bleeding-edge
# builds of tiledbsoma from r-universe. Its DESCRIPTION version
# number isn't routinely updated to invalidate our cache.
cache: false
cache: true
- name: install tiledbsoma & tiledb from tiledb-inc.r-universe.dev
# Install the latest tiledb[soma] package, overwriting any version cached by
# setup-r-dependencies. FIXME once we have a strategy for
# https://github.com/single-cell-data/TileDB-SOMA/issues/1427
run: Rscript -e 'install.packages(c("tiledb", "tiledbsoma"), repos = "https://tiledb-inc.r-universe.dev")'
- name: styler
run: Rscript -e 'library("styler"); style_pkg("api/r/cellxgene.census", dry="fail")'
- name: check session info
Expand Down