Skip to content

Commit

Permalink
Consider multithreading
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParsonage committed Feb 13, 2019
1 parent f65e7b6 commit 8719178
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- run:
no_output_timeout: 20m
command: |
if [[ $CIRCLE_NODE_INDEX == "31" ]]; then Rscript -e "devtools::install()" ; fi
if [[ $CIRCLE_NODE_INDEX == "31" ]]; then R -e 'library(grattan);c(age_pension(fy.year = "2015-16", has_partner = FALSE), 20664.80)'; fi
if [[ $CIRCLE_NODE_INDEX == "31" ]]; then R -e 'library(grattan);testthat::expect_equal(age_pension(fy.year = "2015-16", has_partner = FALSE), 20664.80)'; fi
if [[ $CIRCLE_NODE_INDEX == "31" ]]; then R -e 'devtools::test(filter = "pension")'; fi
if [[ $CIRCLE_NODE_INDEX == "3" ]]; then Rscript -e "devtools::install()" ; fi
if [[ $CIRCLE_NODE_INDEX == "3" ]]; then R -e 'library(data.table);setDTthreads(1L);library(grattan);c(age_pension(fy.year = "2015-16", has_partner = FALSE), 20664.80)'; fi
if [[ $CIRCLE_NODE_INDEX == "3" ]]; then R -e 'library(data.table);setDTthreads(1L);library(grattan);testthat::expect_equal(age_pension(fy.year = "2015-16", has_partner = FALSE), 20664.80)'; fi
if [[ $CIRCLE_NODE_INDEX == "3" ]]; then R -e 'library(data.table);setDTthreads(1L);devtools::test(filter = "pension")'; fi
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "DESCRIPTION" }}-{{ checksum ".circleci/config.yml" }}
paths:
Expand Down

0 comments on commit 8719178

Please sign in to comment.