From 00588549ce0d46a79ca351a8f5168fd9883b9278 Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Sat, 21 Oct 2023 10:25:10 +0200 Subject: [PATCH] [ci] remember heasoft load results; fix conda install creating new env --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index acf5aa2..7f28706 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,7 @@ jobs: - name: Install python dependencies run: | - mamba install -y -n ciao --override-channels -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao sherpa ds9 ciao-contrib caldb_main + mamba create -y -n ciao --override-channels -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao sherpa ds9 ciao-contrib caldb_main mamba install -y -n ciao -c conda-forge ultranest coverage coveralls scipy "matplotlib>=3.5" h5py astropy requests cython tqdm coverage toml mamba activate ciao pip install git+https://github.com/JohannesBuchner/coverage-lcov @@ -277,6 +277,8 @@ jobs: source ${HEADAS}/headas-init.sh; echo "PYTHONPATH: $PYTHONPATH"; echo "PATH: $PATH"; + echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV + echo "PATH=$PATH" >> $GITHUB_ENV python -c 'import xspec' || true; - name: Install python dependencies