Skip to content

Commit

Permalink
chore: install serverside package from main branch if on master (#61)
Browse files Browse the repository at this point in the history
* Update config.yml

* chore: corrected syntax

* chore: added missing semicolon

* chore: delete reference to branch that doesn't exist
  • Loading branch information
timcadman authored Aug 13, 2024
1 parent 952ec73 commit 6183ccc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ jobs:
command: |
Rscript -e 'install.packages(c("devtools", "pkgdown", "markdown", "rmarkdown", "rlang", "stringr", "cli", "covr", "git2r", "DSI", "assertthat", "purrr", "gridExtra", "DSLite", "RANN", "lme4", "reshape2", "polycor", "gamlss", "gamlss", "mice", "childsds", "fields", "metafor", "meta", "panelaggregation", "testthat"))'
Rscript -e 'install.packages(c("dsBase", "dsBaseClient"), repos = "https://cran.obiba.org/")'
Rscript -e 'remotes::install_git("[email protected]:molgenis/ds-tidyverse.git")'
Rscript -e "git2r::config(user.email = '[email protected]', user.name = 'MOLGENIS Jenkins')"
if [ $CIRCLE_BRANCH = "master" ]; then
Rscript -e 'remotes::install_git("[email protected]:molgenis/ds-tidyverse.git")'
else
Rscript -e 'remotes::install_git("[email protected]:molgenis/ds-tidyverse.git")' # This can be changed for each PR so circle CI loads correct serverside package
fi
- save_cache:
paths:
Expand Down

0 comments on commit 6183ccc

Please sign in to comment.