Skip to content

Commit

Permalink
update test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jan 15, 2025
1 parent 71aa306 commit ba9f954
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,34 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10']
numpy-version: ['<1.22', '<1.23']
astropy-version: ['<5.1']
python-version: ['3.10'] # , '3.11', '3.12']
numpy-version: ['<1.23']
astropy-version: ['<6.1', '<7']

env:
DESIUTIL_VERSION: 3.2.1
DESIMODEL_VERSION: main
DESIMETER_VERSION: 0.6.5
DESIMODEL_DATA: branches/test-0.17
DESIUTIL_VERSION: 3.5.0
DESIMODEL_VERSION: 0.19.2
DESIMETER_VERSION: 0.7.1
DESIMODEL_DATA: branches/test-0.19
DESIMODEL: ${{ github.workspace }}/desimodel
DESITARGET_VERSION: 2.2.1
DESITARGET_VERSION: 2.5.0

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --no-cache-dir --upgrade pip wheel
python -m pip install --no-cache-dir --upgrade pip setuptools wheel
python -m pip install --no-cache-dir pyyaml requests
python -m pip install --no-cache-dir scipy matplotlib healpy
python -m pip install --no-cache-dir --upgrade "numpy${{ matrix.numpy-version }}"
Expand All @@ -67,26 +67,26 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.9']
python-version: ['3.10']

env:
DESIUTIL_VERSION: 3.2.1
DESIUTIL_VERSION: 3.5.0

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r doc/rtd_requirements.txt
- name: Install desiutil
run: python -m pip install --no-cache-dir git+https://github.com/desihub/desiutil.git@${{ env.DESIUTIL_VERSION }}#egg=desiutil
# - name: Install desiutil
# run: python -m pip install --no-cache-dir git+https://github.com/desihub/desiutil.git@${{ env.DESIUTIL_VERSION }}#egg=desiutil
- name: Compile the package
run: CC=g++ CXX=g++ CFLAGS="-fPIC" LDSHARED="g++ -shared" python setup.py build_ext --inplace
- name: Test the documentation
Expand Down
4 changes: 2 additions & 2 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ fiberassign change log
5.7.3 (unreleased)
------------------

* Remove ``DesiTest`` from setup.py and warn about other deprecated features (PR `#466`_).
* Remove ``DesiTest`` from setup.py and warn about other deprecated features (PR `#464`_).

.. _`#466`: https://github.com/desihub/fiberassign/pull/466
.. _`#464`: https://github.com/desihub/fiberassign/pull/464

5.7.2 (2023-10-04)
------------------
Expand Down
6 changes: 3 additions & 3 deletions doc/rtd_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Sphinx>6,<7
sphinx-rtd-theme>1
git+https://github.com/desihub/desiutil.git@main#egg=desiutil
Sphinx
sphinx-rtd-theme
git+https://github.com/desihub/desiutil.git@3.5.0#egg=desiutil

0 comments on commit ba9f954

Please sign in to comment.