mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 20:45:57 +08:00
feat: add code comment
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env awk
|
||||
|
||||
{
|
||||
print $0
|
||||
if (match($0, /^total:/)) {
|
||||
sub(/%/, "", $NF);
|
||||
printf("test coverage is %s%(quality gate is %s%)\n", $NF, target)
|
||||
if (strtonum($NF) < target) {
|
||||
printf("test coverage does not meet expectations: %d%, please add test cases!\n", target)
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user