Skip to content
Snippets Groups Projects
tox.ini 1.15 KiB
Newer Older
envlist = py{37,38,39,310,311}-{generator,noaccel}, py{37,38,39,310,311}-accel-{win,nix}, py{37,38,39,310,311}-streams, py{37,38,39,310,311}-functional
skipsdist = True
[pytest]
python_paths = framework/ generated_tests/
Vinson Lee's avatar
Vinson Lee committed
markers =
    raises
    slow
    timeout
passenv=
    HOME
    USERPROFILE
setenv =
    USERNAME = foo
    accel-nix: lxml
    py{37,38,39,310,311}-generator: numpy
    py{37,38,39,310,311}: 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
Dylan Baker's avatar
Dylan Baker committed
    {accel,noaccel,streams}: jsonschema
    streams: jsonstreams>=0.4.1
    {accel,noaccel,functional}: pyyaml
    {accel,noaccel,functional}: urllib3<2
    {accel,noaccel,functional}: requests
    {accel,noaccel,functional}: Pillow
commands =
    {accel,noaccel}: py.test -rw unittests/framework unittests/suites []
    generator: py.test -rw unittests/generators []
Dylan Baker's avatar
Dylan Baker committed
    streams: py.test -rw unittests/framework/backends/test_json.py []
    functional: py.test -rw functionaltests/framework []