Skip to content

Commit c2c2f4e

Browse files
committed
格式化代码
1 parent d460bb1 commit c2c2f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cicd/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ mkdir /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage
5151
grcov . --binary-path ./target/release/ -s . -t lcov --llvm --branch --ignore-not-existing --ignore "*cargo*" --ignore "*examples*" -o /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/coverage.info
5252

5353
# 修复grcov中结果不准的数据
54-
cargo install rust-client-covfix
55-
rust-client-covfix -o /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/lcov-w-branch_correct.info /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/coverage.info
54+
cargo install rust-covfix
55+
rust-covfix -o /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/lcov-w-branch_correct.info /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/coverage.info
5656

5757
# 生成增量覆盖率报告
5858
python lcov_cobertura.py /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/lcov-w-branch_correct.info --output /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage/coverage.xml

0 commit comments

Comments
 (0)