I would like to see an option that tells tox to not fail for testenvs / jobs that are considered optional.
For example, if I have a section [testenv:pep8] I don't want tox to fail if I mark it as non-voting. So if a testenv returns a non-zero status (failure) then tox would still exit with a zero status but display a warning that a non-voting test failed.
#!ini
[tox]
skipsdist = True
envlist = py26, py27, pep8
[testenv]
commands =
pip install -e .
pip install -r test-requirements.txt
py.test {posargs}
[testenv:pep8]
voting = False
commands =
pip install pep8
pep8 --ignore=E501 myproject/
If this is considered a good idea, I'd like to try implementing it.
I would like to see an option that tells tox to not fail for testenvs / jobs that are considered optional.
For example, if I have a section [testenv:pep8] I don't want tox to fail if I mark it as non-voting. So if a testenv returns a non-zero status (failure) then tox would still exit with a zero status but display a warning that a non-voting test failed.
If this is considered a good idea, I'd like to try implementing it.