Skip to content

Commit

Permalink
ci: update coverage exclusion list
Browse files Browse the repository at this point in the history
  • Loading branch information
matejcik committed Jun 7, 2021
1 parent e121777 commit 9e6a550
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions core/tools/coverage-report
Expand Up @@ -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
Expand Down

0 comments on commit 9e6a550

Please sign in to comment.