Skip to content

Commit

Permalink
[ci] try older python, and slower
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Aug 28, 2023
1 parent 8dbdbcf commit ed3ce4c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
jobs:
Sherpa:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
#python-version: [3.8, 3.9, '3.10', 3]
python-version: [3]
python-version: [3.9]

defaults:
run:
Expand Down Expand Up @@ -199,6 +199,16 @@ jobs:
wget -q -nc https://zenodo.org/record/1169181/files/uxclumpy-cutoff.fits https://zenodo.org/record/1169181/files/uxclumpy-cutoff-omni.fits;
popd
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get -y --no-install-recommends install -y ghostscript

- name: Install python dependencies
run: |
conda install -y -c conda-forge mamba
mamba install -c conda-forge -y ultranest coverage coveralls scipy "matplotlib>=3.5" h5py astropy requests cython tqdm coverage toml
pip install git+https://github.com/JohannesBuchner/coverage-lcov
sudo sed -i '/PDF/s/none/read|write/' /etc/ImageMagick-6/policy.xml
- name: Cache xspec install
uses: pat-s/[email protected]
id: cache-xspec
Expand All @@ -212,16 +222,6 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}-${{ env.cache-version }}
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get -y --no-install-recommends install -y ghostscript

- name: Install python dependencies
run: |
conda install -y -c conda-forge mamba
mamba install -c conda-forge -y ultranest coverage coveralls scipy "matplotlib>=3.5" h5py astropy requests cython tqdm coverage toml
pip install git+https://github.com/JohannesBuchner/coverage-lcov
sudo sed -i '/PDF/s/none/read|write/' /etc/ImageMagick-6/policy.xml
- name: Download and Install heasoft (if necessary)
run: |
mkdir -p $MYCACHE
Expand Down

0 comments on commit ed3ce4c

Please sign in to comment.