Skip to content

Commit

Permalink
Test on numpy 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 14, 2024
1 parent dc6b75c commit d9fc86f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:
strategy:
matrix:
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
numpyversion: ["1", "2"]
fail-fast: false

runs-on: ${{ matrix.python <= '3.6' && 'ubuntu-20.04' || 'ubuntu-22.04' }}

name: Test on python ${{ matrix.python }} and numpy ${{ matrix.numpyversion }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install Tox and any other packages
- name: Install Tox
run: pip install tox
- name: Install numpy ${{ matrix.numpyversion }}
run: pip install numpy==${{ matrix.numpyversion }}.*
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py

0 comments on commit d9fc86f

Please sign in to comment.