Skip to content

Commit

Permalink
Add an entry to the CI build matrix to test pip prerelease packages t…
Browse files Browse the repository at this point in the history
…o test NumPy 2 (#454)
  • Loading branch information
tomwhite authored Apr 30, 2024
1 parent 82bc661 commit 1b9cc54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ jobs:
matrix:
os: ["ubuntu-latest", "macos-12", "windows-latest"]
python-version: ["3.9"]
PIP_FLAGS: [""]
include:
- os: "ubuntu-latest"
python-version: "3.12"
- os: "ubuntu-latest"
python-version: "3.12"
PIP_FLAGS: "--pre"

steps:
- name: Checkout source
Expand All @@ -46,7 +50,9 @@ jobs:
- name: Install
run: |
python -m pip install -e .[test]
python -m pip install ${PIP_FLAGS} -e .[test]
env:
PIP_FLAGS: ${{ matrix.PIP_FLAGS }}

- name: Run tests
run: |
Expand Down

0 comments on commit 1b9cc54

Please sign in to comment.