From f8443abe3f217b43dff2719d681321443d94fa4e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 17 Apr 2023 15:08:15 +0100 Subject: [PATCH] Workaround for coverage bug Related: https://github.com/nedbat/coveragepy/issues/1605 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 5e485cdfc71..18b9cfd3f72 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,8 @@ description = deps = --editable .[test] devel: ansible-core @ git+https://github.com/ansible/ansible.git # GPLv3+ +commands_pre = + -sh -c "rm .tox/.coverage.*" commands = # safety measure to assure we do not accidentally run tests with broken dependencies {envpython} -m pip check