-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (30 loc) · 922 Bytes
/
tox.ini
File metadata and controls
33 lines (30 loc) · 922 Bytes
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
31
32
33
# 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, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = {py310,py311,py312,pypy}
skip_missing_interpreters = True
minversion = 2.4.0
[testenv]
usedevelop = True
extras = dev
deps =
pyflakes >= 1.2.3
twtrunk: git+https://github.com/twisted/twisted
tw21.2.0: twisted == 21.2.0
tw25.5.0: twisted == 25.5.0
commands =
pyflakes setup.py src
python -m twisted.trial {posargs:wormhole_transit_relay}
[testenv:coverage]
deps =
pyflakes >= 1.2.3
coverage
twtrunk: git+https://github.com/twisted/twisted
tw21.2.0: twisted == 21.2.0
tw25.5.0: twisted == 25.5.0
commands =
pyflakes setup.py src
coverage run --branch -m twisted.trial {posargs:wormhole_transit_relay}
coverage xml