1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

ci: update coverage exclusion list

This commit is contained in:
matejcik 2021-06-03 11:42:51 +02:00 committed by matejcik
parent e952a301d6
commit aa4227fa84

View File

@ -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