diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -4,10 +4,17 @@ envlist = flake8 [testenv] deps = -r{toxinidir}/requirements.txt - avocado-framework==94.0 + avocado-framework<104.0 python_magic setenv = PYTHONPATH = {toxinidir}/tests +avocado_cmd = + avocado run -p TESTLOCAL=true --max-parallel-tasks=1 +stage_tests = + tests/cleaner_tests \ + tests/collect_tests \ + tests/report_tests \ + tests/vendor_tests [testenv:flake8] deps = flake8 @@ -27,23 +34,17 @@ commands = [testenv:stageone_tests] basepython = python3 commands = - avocado run -p TESTLOCAL=true --test-runner=runner -t stageone tests/cleaner_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stageone tests/collect_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stageone tests/report_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stageone tests/vendor_tests + {[testenv]avocado_cmd} -t stageone {[testenv]stage_tests} [testenv:stagetwo_tests] basepython = python3 commands = - avocado run -p TESTLOCAL=true --test-runner=runner -t stagetwo tests/cleaner_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stagetwo tests/collect_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stagetwo tests/report_tests - avocado run -p TESTLOCAL=true --test-runner=runner -t stagetwo tests/vendor_tests + {[testenv]avocado_cmd} -t stagetwo {[testenv]stage_tests} [testenv:foreman_tests] basepython = python3 commands = - avocado run -p TESTLOCAL=true --test-runner=runner -t foreman tests/product_tests/foreman/ + {[testenv]avocado_cmd} -t foreman tests/product_tests/foreman/ [testenv:nosetests] basepython = python3 |