-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathtox.ini
30 lines (27 loc) · 882 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Tox (https://tox.wiki/) is a tool for running tests in multiple
# virtualenvs. This configuration file will run the test suite on all
# supported python versions. To use it, run "tox" from this directory.
#
# For a specific environment, run: "tox -e <env>" (i.e.: "tox -e py313")
#
# This tox configuration will skip any Python interpreters that can't be found.
# To manage multiple Python interpreters for covering all versions, you can use
# pyenv: https://github.com/pyenv/pyenv
[tox]
env_list =
py39
py310
py311
py312
py313
skip_missing_interpreters = True
[testenv]
description = run tests
passenv = *
deps =
-r requirements.txt
commands =
# "-vv" means extra verbose
# "-r fEsxXp" means show extra test summary info as specified by:
# (f)ailed, (E)rror, (s)kipped, (x)failed, (X)passed, (p)assed
pytest -vv -r fEsxXp {posargs:.}