mirror of https://github.com/open-mmlab/mmocr.git
request 90% unittest coverage
parent
4706cc7eca
commit
e2577741dd
.dev_scripts
|
@ -38,6 +38,6 @@ then
|
|||
if [ "$REUSE_COVERAGE_REPORT" == "0" ]; then
|
||||
coverage run --branch --source mmocr -m pytest tests/
|
||||
fi
|
||||
coverage report --fail-under 80 -m $PY_FILES
|
||||
coverage report --fail-under 90 -m $PY_FILES
|
||||
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-magic --ignore-regex "__repr__" --fail-under 95 $PY_FILES
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue