From a159e818976be8ba45a2d413a4f6d47f6186d116 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 12 Jun 2024 09:50:38 -0400 Subject: [PATCH] MAINT: Test against latest NumPy --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a91458da..7325017e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: + # We test NumPy dev on 3.11 python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] requires: ['requirements.txt'] include: @@ -37,9 +38,13 @@ jobs: allow-prereleases: true - name: Install run: | + set -eo pipefail python -m pip install --upgrade pip python -m pip install -r ${{ matrix.requires }} python -m pip install -r requirements-dev.txt + if [[ "${{ matrix.python-version }}" == "3.11" ]]; then + python -m pip install --only-binary numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "numpy>=2.1.0.dev0" + fi python -m pip install . - name: Lint run: |