mirror of
https://github.com/mgree/ffs.git
synced 2024-08-17 07:10:35 +03:00
Retry R installations (#57)
Network failures were causing spurious CI failures; we now try to install ggplot2 (and its dependencies) up to three times.
This commit is contained in:
parent
b9c6644312
commit
a56a7e5607
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Benchmarks
|
- name: Benchmarks
|
||||||
run: |
|
run: |
|
||||||
Rscript -e "install.packages('ggplot2', repos = 'https://cloud.r-project.org/')"
|
Rscript -e "tries <- 0; while (!require('ggplot2') && tries < 3) { cat(sprintf('TRY %d\n', tries)); install.packages('ggplot2', repos = 'https://cloud.r-project.org/'); tries <- tries + 1; }"
|
||||||
PATH="$(pwd)/target/release:$PATH" ./run_bench.sh -n 3
|
PATH="$(pwd)/target/release:$PATH" ./run_bench.sh -n 3
|
||||||
# grab latest directory (output of run_bench)
|
# grab latest directory (output of run_bench)
|
||||||
DATADIR=bench/$(ls -ct bench/ | head -n 1)
|
DATADIR=bench/$(ls -ct bench/ | head -n 1)
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
*.log
|
*.log
|
||||||
*.png
|
*.png
|
||||||
.Rhistory
|
.Rhistory
|
||||||
|
.DS_Store
|
||||||
|
Loading…
Reference in New Issue
Block a user