From 9513d26b47c59a3c97aefab46c3e5a40d953e286 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Mon, 3 Jun 2019 17:58:20 +0000 Subject: [PATCH] Fix coverage tox venv We need to configure tox to actually run coverage or we get no data for coverage to combine. Change-Id: I6dc1601e628ac1090ce7a277c2be4b97f8577058 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index e6b664c9..7e6ba9f5 100644 --- a/tox.ini +++ b/tox.ini @@ -39,6 +39,8 @@ commands = [testenv:cover] basepython = python3 +setenv = + PYTHON=coverage run --source oslo_config --parallel-mode commands = coverage erase {[testenv]commands}