Skip to content

Commit 792d9b5

Browse files
committed
Tox to pyproject.
1 parent a922dd6 commit 792d9b5

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,20 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
7474
[[tool.mypy.overrides]]
7575
module = ["napari_matplotlib/tests/*"]
7676
disallow_untyped_defs = false
77+
78+
[tool.tox]
79+
requires = ["tox>=4.19"]
80+
env_list = ["py311", "py312", "py313"]
81+
isolate_build = true
82+
83+
[tool.tox.gh-actions.python]
84+
py311 = ["3.11"]
85+
pt312 = ["3.12"]
86+
py313 = ["3.13"]
87+
88+
[tool.tox.env.test]
89+
extras = ["testing"]
90+
commands = [
91+
["python", "-m", "pytest", "--mpl"]]
92+
93+
# python -m pytest --mpl --mpl-generate-summary=html --mpl-results-path={toxinidir}/reports -v --color=yes --cov=napari_matplotlib --cov-report=xml

tox.ini

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)