From c5a5d98d0a3e65184adcfdaa90e1cac5e41201fb Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 Mar 2019 10:30:51 +0100 Subject: [PATCH] write coverage file for each tox environment --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 791fdc9..3482680 100644 --- a/tox.ini +++ b/tox.ini @@ -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