add tox tests

This commit is contained in:
2024-02-15 23:54:31 +00:00
parent 9c1fa36aed
commit 6a2df6352d
5 changed files with 148 additions and 32 deletions

View File

@@ -17,6 +17,7 @@ pytest = "^7.4.4"
pytest-randomly = "^3.12.0"
black = "^22.6.0"
isort = "^5.10.1"
tox = "^4.12.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -27,3 +28,16 @@ obs = "scripts:ex_obs"
sends = "scripts:ex_sends"
xair = "scripts:test_xair"
x32 = "scripts:test_x32"
all = "scripts:test_all"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310,py311,py312
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest tests/
"""