Skip to content

Commit

Permalink
Run test job with oldest and latest supported NumPy (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
hofaflo authored Apr 3, 2024
1 parent b275c5d commit b17cad2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
numpy: ["--pre numpy"]
include:
- python-version: "3.9"
numpy: numpy==1.22.0
- python-version: "3.10"
numpy: numpy==1.22.0
- python-version: "3.11"
numpy: numpy==1.23.2
- python-version: "3.12"
numpy: numpy==1.26.0
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -42,7 +52,8 @@ jobs:
run: |
pip install -U pip
pip install poetry==1.7.0
poetry install
poetry install --only dev
poetry run pip install ${{matrix.numpy}}
- name: Pre-commit
run: |
poetry run pre-commit run --all-files
Expand Down

0 comments on commit b17cad2

Please sign in to comment.