diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15657ce..b0cae7c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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