Skip to content

Commit

Permalink
CI: Include SciPy 1.13.0. Also add tests with numpy 2.0.0.rc2.
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser committed May 22, 2024
1 parent 8c0e204 commit b7b8d8d
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ jobs:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
scipy-version: ['1.7.3', '1.8.1', '1.9.3', '1.10.1', '1.11.4', '1.12.0']
scipy-version: ['1.7.3', '1.8.1', '1.9.3', '1.10.1', '1.11.4', '1.12.0', '1.13.0']
exclude:
- scipy-version: '1.13.0'
python-version: '3.8'
- scipy-version: '1.13.0'
python-version: '3.9'
- scipy-version: '1.12.0'
python-version: '3.8'
- scipy-version: '1.11.4'
Expand Down Expand Up @@ -47,3 +51,28 @@ jobs:
- name: Test with pytest
run: |
python -m pytest
numpy2:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
numpy-version: ['2.0.0rc2']
scipy-version: ['1.13.0']
steps:
- uses: actions/checkout@v4
- name: Set up ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy=${{ numpy-version }} scipy==${{ matrix.scipy-version }}
python -m pip install pytest
- name: Install odeintw
run: |
python -m pip install .
- name: Test with pytest
run: |
python -m pytest

0 comments on commit b7b8d8d

Please sign in to comment.