File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ mkdir /tmp/cicd/$CI_PROJECT_ID/$CI_MERGE_REQUEST_IID/coverage
5151grcov . --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# 生成增量覆盖率报告
5858python 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
You can’t perform that action at this time.
0 commit comments