write coverage file for each tox environment

This commit is contained in:
Robert Kaussow 2019-03-25 10:30:51 +01:00
parent d2dec85cd5
commit c5a5d98d0a

View File

@ -8,6 +8,7 @@ isolated_build = True
[testenv]
usedevelop = True
passenv = PY_COLORS
setenv = COVERAGE_FILE={envdir}/.coverage
deps =
-rtest-requirements.txt
ansible25: ansible>=2.5,<2.6
@ -16,4 +17,4 @@ deps =
ansibledevel: git+https://github.com/ansible/ansible.git
commands =
ansible-later --help
pytest tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail --cov-append
pytest tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail