Add overall coverage to report
This commit is contained in:
parent
f3fa2b6bd2
commit
a72cd0e486
@ -8,6 +8,8 @@ check_coverage() {
|
|||||||
if (( "${coverage_int}" < "${MIN_COVERAGE}" )) ; then
|
if (( "${coverage_int}" < "${MIN_COVERAGE}" )) ; then
|
||||||
echo "Coverage is at ${coverage_float}, but the required coverage is ${MIN_COVERAGE}"
|
echo "Coverage is at ${coverage_float}, but the required coverage is ${MIN_COVERAGE}"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Overall coverage: ${coverage_float} of statements"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user