-
Notifications
You must be signed in to change notification settings - Fork 66
/
tox.ini
71 lines (61 loc) · 1.28 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tox]
envlist = py38-numpy, pypy39, pypy310, py38, py39, py310, py311, py312, py313,
py38-twisted-latest,
linters3, sphinx
[gh-actions]
python =
3.8: py38, py38-numpy, py38-twisted-latest
3.9: py39, linters3, sphinx
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.13-dev: py313
pypy3.9: pypy39
pypy3.10: pypy310
[testenv]
commands =
{envpython} setup.py --version
pip install .[test]
pip list
{envpython} -m pytest -n 2
## No Twisted ##
[testenv:py38-numpy]
basepython = python3.8
deps = numpy
dask[bag]
[testenv:py311]
basepython = python3.11
deps = cffi
dask[bag]
dask[distributed]
dask[pandas]
pandas
[testenv:py38]
basepython = python3.8
deps = cffi
pyinstaller
[testenv:py39]
basepython = python3.9
deps =
[testenv:py38-twisted-latest]
basepython = python3.8
deps = Twisted
[testenv:pypy3]
basepython = pypy3
deps =
# Other validation:
[testenv:linters3]
deps = pyflakes
black
flake8
basepython = python3.9
commands =
pyflakes eliot
black --check --target-version=py38 eliot
[testenv:sphinx]
deps = sphinx
sphinx_rtd_theme
basepython = python3.9
commands =
sphinx-build -b html docs/source/ docs/_build/html