Increase coverage threshold (#2023)

This commit is contained in:
Cesar Celis Hernandez
2022-05-20 19:21:43 -04:00
committed by GitHub
parent 40dcc9eb33
commit 326d709bf9

View File

@@ -1395,7 +1395,7 @@ jobs:
go tool cover -func=all.out | grep total > tmp2
result=`cat tmp2 | awk 'END {print $3}'`
result=${result%\%}
threshold=46.6
threshold=47.7
echo "Result:"
echo "$result%"
if (( $(echo "$result >= $threshold" |bc -l) )); then