Adjusting the threshold of the coverage (#3172)

This commit is contained in:
Cesar Celis Hernandez
2023-12-26 14:52:03 -05:00
committed by GitHub
parent a281fe129f
commit ba04a22492

View File

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