Skip to content

Commit

Permalink
Testing both numpy 1 and 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Nov 25, 2024
1 parent e132950 commit 4d244d6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[tox]
envlist = ruff, black, pypy3, py39, py310, py311, py312, py313, docs, mypy, pyright
env_list = ruff, black, pypy3, py3{9,10,11,12,13}-numpy{1,2}, docs, mypy, pyright
skip_missing_interpreters = True

[testenv]
deps = -rtests/requirements.txt
commands =
deps =
numpy1: numpy==1.*
numpy2: numpy==2.*
-rtests/requirements.txt
commands =
python -m pip install -U pip wheel setuptools
python setup.py build_ext --inplace
python -m pytest -vvv {posargs}
Expand All @@ -18,10 +21,13 @@ basepython =

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy3: pypy3


[testenv:flake8]
basepython=python
Expand Down

0 comments on commit 4d244d6

Please sign in to comment.