Skip to content

Commit

Permalink
CI: Add tests with numpy 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser committed May 9, 2024
1 parent 88777ca commit 977fe1f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,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.0rc1']

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==${{ matrix.numpy-version }}
python -m pip install pytest
- name: Install numpngw
run: |
python -m pip install .
- name: Test with pytest
run: |
python -m pytest

0 comments on commit 977fe1f

Please sign in to comment.