summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 8f2791045a3b00975cb23ef75b4148a5ed5db101 (plain)
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
[tox]
envlist = py{37,38,39,310}-{generator,noaccel}, py{37,38,39,310}-accel-{win,nix}, py{37,38,39,310}-streams, py{37,38,39,310}-functional
skipsdist = True

[pytest]
python_paths = framework/ generated_tests/
markers =
    raises
    slow
    timeout

[testenv]
passenv=
    HOME
    USERPROFILE
setenv =
    USERNAME = foo
deps =
    accel-nix: lxml
    accel: simplejson
    py{37,38,39,310}-generator: numpy
    mock>=4.0
    py{37,38,39,310}: mako>=1.1.0
    {accel,noaccel,generator,streams}: pytest>=6.2.5
    functional: pytest>=3.9
    pytest-mock>=3.6
    {accel,noaccel}: requests-mock
    {accel,noaccel}: packaging
    pytest-pythonpath
    pytest-raises
    pytest-timeout>=2.0
    {accel,noaccel,streams}: jsonschema
    streams: jsonstreams>=0.4.1
    {accel,noaccel,functional}: pyyaml
    {accel,noaccel,functional}: requests
    {accel,noaccel,functional}: Pillow
commands =
    {accel,noaccel}: py.test -rw unittests/framework unittests/suites []
    generator: py.test -rw unittests/generators []
    streams: py.test -rw unittests/framework/backends/test_json.py []
    functional: py.test -rw functionaltests/framework []