Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
Signed-off-by: qiaofeng1227 <76487013@qq.com>
  • Loading branch information
qiaofeng1227 authored Oct 22, 2024
1 parent 8e869f9 commit e362769
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,11 @@ jobs:
pull_rate=0
fi
# Always check if the pull rate is less than 1 MB/s
if (( $(echo "$pull_rate < 1" | bc -l) )); then
echo "Pull rate is less than 1 MB/s, marking as failure"
exit 1
fi
echo "--------------Final pull rate($url): $pull_rate MB/s-------------"
done

0 comments on commit e362769

Please sign in to comment.