diff --git a/pyproject.toml b/pyproject.toml index 2870165..c9b8aab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,3 +94,15 @@ Issues = "https://github.com/todofixthis/filters/issues" [tool.pytest.ini_options] testpaths = ["test"] + +[tool.tox] +env_list = ["py313", "py312", "py311"] + +[tool.tox.env_run_base] +skip_install = true +allowlist_externals = ["poetry"] +commands_pre = [["poetry", "install", "--with=ci"]] +commands = [ + ["poetry", "run", "pytest"], +# ["poetry", "run", "mypyc", "src", "test"] +] \ No newline at end of file diff --git a/tox.ini b/tox.ini deleted file mode 100644 index d63c584..0000000 --- a/tox.ini +++ /dev/null @@ -1,12 +0,0 @@ -# :see: https://python-poetry.org/docs/faq/#use-case-3 -[tox] -envlist = py3{13,12,11} -isolated_build = true - -[testenv] -allowlist_externals = poetry -commands_pre = poetry install --with=ci -commands = - poetry run pytest -# poetry run mypyc src test -skip_install = true