weecology / portalPredictions

Using various models to forecast abundances at Portal
MIT License
9 stars 8 forks source link

Prevent archiving if testing fails on HiperGator #349

Closed ethanwhite closed 4 years ago

ethanwhite commented 4 years ago

Could relate to #346.

henrykironde commented 4 years ago

try || exit 1 on singularity run ../portal_predictions_latest.sif Rscript tests/testthat.R > ../testthat.log 2>&1

ref: https://unix.stackexchange.com/questions/309339/how-to-exit-a-shell-script-if-one-part-of-it-fails#309344