From e0d2b1d84d421294f5c936633415c9760ca055b5 Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Fri, 13 Sep 2024 15:30:27 +0100 Subject: [PATCH] use cpu when testing --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97a22a5..32592e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,9 @@ jobs: 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/103/10378/redrock-sv1-bright-10378.fits cd ../../ + - name: EnvVar + run: | + echo "RVS_NN_DEVICE=cpu" >> "$GITHUB_ENV" - name: Testing run: | pytest --cov=rvspecfit