From 7ed1482a715f48ed0eacd20bb82c46905d9e1cc6 Mon Sep 17 00:00:00 2001 From: devdanzin <74280297+devdanzin@users.noreply.github.com> Date: Thu, 25 Jul 2024 19:37:32 -0300 Subject: [PATCH] Enable collection of branch coverage. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 304a064..cb9ce78 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ deps = hypothesis pytz commands = - coverage run --source=src/icalendar --omit=*/tests/hypothesis/* --omit=*/tests/fuzzed/* --module pytest [] + coverage run --branch --source=src/icalendar --omit=*/tests/hypothesis/* --omit=*/tests/fuzzed/* --module pytest [] coverage report coverage html coverage xml @@ -32,7 +32,7 @@ deps = hypothesis commands = rm -rf build # do not mess up import - coverage run --source=src/icalendar --omit=*/tests/hypothesis/* --omit=*/tests/fuzzed/* --module pytest [] + coverage run --branch --source=src/icalendar --omit=*/tests/hypothesis/* --omit=*/tests/fuzzed/* --module pytest [] coverage report coverage html coverage xml