Adjusting the threshold of the coverage (#3172)
This commit is contained in:
committed by
GitHub
parent
a281fe129f
commit
ba04a22492
2
.github/workflows/jobs.yaml
vendored
2
.github/workflows/jobs.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user