From aa4227fa84f9f408ade77a5b1c1973d31476c87d Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 3 Jun 2021 11:42:51 +0200 Subject: [PATCH] ci: update coverage exclusion list --- core/tools/coverage-report | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/tools/coverage-report b/core/tools/coverage-report index 9cfce5fdf..82ae56ce3 100755 --- a/core/tools/coverage-report +++ b/core/tools/coverage-report @@ -6,10 +6,14 @@ coverage run --source=./src /dev/null 2>/dev/null mv .coverage .coverage.empty coverage combine .coverage.* +EXCLUDES="\ +src/all_modules.py,\ +src/apps/ethereum/tokens.py,\ +src/trezor/messages.py,\ +src/trezor/enums/__init__.py" + coverage html \ - --omit=src/trezor/messages/* \ - --omit=src/all_modules.py \ - --omit=src/apps/ethereum/tokens.py \ + --omit="$EXCLUDES" \ --fail-under=${COVERAGE_THRESHOLD} if [ $? -eq 2 ]; then