From 3e1893f60a73d0daa7126cc749ac3a967068b1ef Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Sun, 15 Sep 2024 20:55:13 +0300 Subject: [PATCH] =?UTF-8?q?test:=20=F0=9F=A7=AA=20tox=20file=20added=20for?= =?UTF-8?q?=20multi=20version=20tests=20locally?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER --- pyproject.toml | 5 +++-- tox.ini | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 tox.ini diff --git a/pyproject.toml b/pyproject.toml index 47f55ec..67c9271 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,8 @@ dev = [ "black~=24.8.0", "pre-commit~=3.8.0", "mypy~=1.11.2", - "flake8~=7.1.1" + "flake8~=7.1.1", + "tox~=4.18.1" ] [project.scripts] @@ -62,4 +63,4 @@ maestro = "maestro.cli.main:app" [tool.setuptools.packages.find] where = ["."] -exclude = ["cookbooks", "docs", "tests", "tests.*", "requirements"] +exclude = ["cookbooks", "docs", "tests,","test", "tests.*", "requirements"] diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..a2bd6d7 --- /dev/null +++ b/tox.ini @@ -0,0 +1,7 @@ +[tox] +envlist = py39,py310,py311,py312 + +[testenv] +changedir = test +deps = pytest +commands = pytest