Use source_files to access sample data files for testing
This is much cleaner than pulling down the files with `curl`. Thanks
to for the suggestion.
@@ -18,11 +18,12 @@ requirements:
- cmake
test:
+ source_files:
+ - data
commands:
- - curl https://raw.githubusercontent.com/permamodel/Snow_BMI_Fortran/master/data/snow_model_test.cfg > ./snow_model_test.cfg
- - curl https://raw.githubusercontent.com/permamodel/Snow_BMI_Fortran/master/data/tair.csv > ./test_tair.csv
- - curl https://raw.githubusercontent.com/permamodel/Snow_BMI_Fortran/master/data/prec.csv > ./test_prec.csv
- - run_bmisnow_model snow_model_test.cfg
+ - cp data/tair.csv data/test_tair.csv
+ - cp data/prec.csv data/test_prec.csv
+ - run_bmisnow_model data/snow_model_test.cfg
about:
home: https://csdms.colorado.edu/wiki/Model:ECSimpleSnow
