Skip to content

Commit

Permalink
add numpy to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Nov 7, 2024
1 parent 12a8c68 commit dd5d8f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
os: [ windows-latest, ubuntu-latest, macos-latest ]
# Oldest one based on NEP-29 and latest one.
# See https://numpy.org/neps/nep-0029-deprecation_policy.html
numpy-version: ["1.23", "1.26"]
fail-fast: false

steps:
Expand All @@ -29,6 +32,7 @@ jobs:
- name: Install gsw
run: >
python -m pip install -r requirements-dev.txt
&& python pip install numpy=${{ matrix.numpy-version }}
&& python -m pip install -e .
- name: Tests
Expand Down

0 comments on commit dd5d8f1

Please sign in to comment.