Skip to content

Commit

Permalink
Merge pull request #77 from molgenis/fix/circle-ci
Browse files Browse the repository at this point in the history
chore: removed cache to fix circle CI
  • Loading branch information
timcadman authored Jun 11, 2024
2 parents 486b3c9 + 8fdbaed commit ae8e041
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,13 @@ jobs:
install2.r --repo https://cloud.r-project.org desc
Rscript -e "desc::desc_set_version('${VERSION}')"
# we use version number for caching
- restore_cache:
keys:
- when-{{ .Environment.CIRCLE_PULL_REQUEST }}-{{ checksum "DESCRIPTION" }}

- run:
name: Install R deps takes 15min, but no worries we skipinstalled from cache when this PR has installed them before
command: |
install2.r --skipinstalled --repo https://cloud.r-project.org devtools pkgdown markdown rmarkdown mockery webmockr httr urltools xml2 arrow MolgenisAuth DSI git2r ellipsis vctrs covr desc metafor
install2.r --skipinstalled --repo https://cloud.r-project.org devtools pkgdown markdown rmarkdown mockery webmockr httr urltools xml2 arrow MolgenisAuth DSI git2r ellipsis vctrs covr desc metafor docopt
install2.r --skipinstalled --repo https://cran.obiba.org/ dsBaseClient
Rscript -e "git2r::config(user.email = 'molgenis+ci@gmail.com', user.name = 'MOLGENIS Jenkins')"
- save_cache:
paths:
- /usr/local/lib/R/library
- /usr/local/lib/R/site-library
- /tmp/downloaded_packages
key: when-{{ .Environment.CIRCLE_PULL_REQUEST }}-{{ checksum "DESCRIPTION" }}

- run:
name: Build and check artifacts
command: |
Expand Down

0 comments on commit ae8e041

Please sign in to comment.