Skip to content

Commit 95a90fe

Browse files
authored
Added tox support for local testing (#166)
1 parent deccc2e commit 95a90fe

File tree

4 files changed

+99
-11
lines changed

4 files changed

+99
-11
lines changed

.python-version

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
3.11.4
2+
3.10.12
3+
3.9.17
4+
3.8.17

poetry.lock

Lines changed: 79 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ mock = "^4.0.3"
5858
pytest-xdist = { version = "^2.5.0", extras = ["psutil"] }
5959
types-mock = "^4.0.15"
6060
wemake-python-styleguide = "^0.18.0"
61+
tox = "^4.6.4"
6162

6263
[tool.poetry.extras]
6364
zmq = ["pyzmq"]

tox.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tox]
2+
isolated_build = true
3+
env_list =
4+
py311
5+
py310
6+
py39
7+
py38
8+
9+
[testenv]
10+
skip_install = true
11+
allowlist_externals = poetry
12+
commands_pre =
13+
poetry install
14+
commands =
15+
poetry run pytest -vv tests/

0 commit comments

Comments
 (0)