diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 080c4d7..d52b4e8 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -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/desimodel.git@0.09.1 + - name: Run the test run: pytest @@ -54,7 +58,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8] + python-version: [3.9] steps: - name: Checkout code @@ -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/desiutil.git@3.4.2 + python -m pip install git+https://github.com/desihub/desimodel.git@0.09.1 - name: Run the test with coverage run: pytest --cov