Skip to content

Commit

Permalink
CI: add a build against numpy nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Dec 13, 2023
1 parent c9b4c64 commit 89884fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
numpy-nightly: [false]
include:
- os: ubuntu-latest
python-version: "3.12"
numpy-nightly: true
- os: macOS-11
python-version: "3.11"
numpy-nightly: false
- os: windows-2019
python-version: "3.11"
numpy-nightly: false

steps:
- uses: actions/checkout@v3
Expand All @@ -47,6 +53,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[dev]
if [ "${{ matrix.numpy-nightly }}" == "true" ]; then
pip install -U --pre numpy \
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
fi
- name: Run tests
run: |
pytest -n auto

0 comments on commit 89884fd

Please sign in to comment.