Skip to content

Commit

Permalink
install desimodel for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed May 14, 2024
1 parent 7fc9eca commit ce775be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
numpy-version: ['<1.20', '<1.21', '<1.22']
scipy-version: ['<1.6', '<1.7']
speclite-version: ['==0.19']
desiutil-version: ['3.4.2']

steps:
- name: Checkout code
Expand All @@ -44,6 +45,9 @@ jobs:
python -m pip install 'astropy${{ matrix.astropy-version }}'
python -m pip install 'numpy${{ matrix.numpy-version }}'
python -m pip install 'speclite${{ matrix.speclite-version }}'
python -m pip install git+https://github.com/desihub/desiutil.git@${{ matrix.desiutil-version }}
python -m pip install git+https://github.com/desihub/[email protected]
- name: Run the test
run: pytest

Expand All @@ -54,7 +58,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8]
python-version: [3.9]

steps:
- name: Checkout code
Expand All @@ -72,6 +76,8 @@ jobs:
python -m pip install --upgrade pip wheel setuptools
python -m pip install pytest pytest-astropy coveralls
python -m pip install pyyaml numpy\<1.21 scipy\<1.6 astropy\<5.0 speclite==0.19
python -m pip install git+https://github.com/desihub/[email protected]
python -m pip install git+https://github.com/desihub/[email protected]
- name: Run the test with coverage
run: pytest --cov
Expand Down

0 comments on commit ce775be

Please sign in to comment.