Skip to content

Commit

Permalink
Merge pull request #122 from ocefpaf/update_nep29
Browse files Browse the repository at this point in the history
update for NEP29
  • Loading branch information
ocefpaf committed Feb 8, 2024
2 parents d7bac8c + f3d7cce commit 6613951
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/tests.yml
Expand Up @@ -10,16 +10,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
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.21", "1.25"]
numpy-version: ["1.23", "1.26"]
exclude:
- python-version: "3.11"
numpy-version: "1.21"
- python-version: "3.8"
numpy-version: "1.25"
- python-version: "3.12"
numpy-version: "1.23"
fail-fast: false

steps:
Expand All @@ -31,7 +29,7 @@ jobs:
environment-name: TEST
init-shell: bash
create-args: >-
python=${{ matrix.python-version }} pip
python=${{ matrix.python-version }} pip numpy=${{ matrix.numpy-version }}
--file requirements.txt
--file requirements-dev.txt
--channel conda-forge
Expand All @@ -40,8 +38,6 @@ jobs:
shell: bash -l {0}
run: >
python -m pip install -e . --no-deps --force-reinstall
&& micromamba install numpy=${{ matrix.numpy-version }}
&& pip install -e . --no-deps --force-reinstall
- name: Run tests
shell: bash -l {0}
Expand Down

0 comments on commit 6613951

Please sign in to comment.