diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87d462b..11ae3cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,8 @@ jobs: cd templ_data_sdss/ wget -q -r -np -nd https://people.ast.cam.ac.uk/~koposov/files/rvspecfit_files/v2407/templ_data_sdss/ cd ../data/ - wget https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/103/10378/coadd-sv1-bright-10378.fits + wget -q https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/103/10378/coadd-sv1-bright-10378.fits + wget -q https://data.desi.lbl.gov/public/edr/spectro/redux/fuji/healpix/sv1/bright/104/10402/redrock-sv1-bright-10402.fits cd .. - name: Testing run: | diff --git a/tests/scripts/desi_fit.sh b/tests/scripts/desi_fit.sh index 8b47861..8c1b21d 100755 --- a/tests/scripts/desi_fit.sh +++ b/tests/scripts/desi_fit.sh @@ -1,4 +1,7 @@ #!/bin/bash -e -rvs_desi_fit --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --zbest_include --nthreads=2 ./tests/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status +rvs_desi_fit --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --zbest_include --nthreads=2 ./tests/data/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status + +# 1 thread for coverage +rvs_desi_fit --output_dir ./tests_desi_output --no_subdirs --minsn=2 --config tests/yamls/config_desi.yaml --objtypes='SCND_ANY,MWS_ANY,STD_*' --zbest_include --nthreads=1 ./tests/data/coadd-sv1-bright-10378.fits --process_status_file /tmp/tests_desi.status