test: add codecov target for patch #792
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
自建仓库下执行以下实验:
![image](https://private-user-images.githubusercontent.com/40391338/298394581-4bb748a0-afda-4956-88e9-593665be699a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1Nzc1MTgsIm5iZiI6MTcyNDU3NzIxOCwicGF0aCI6Ii80MDM5MTMzOC8yOTgzOTQ1ODEtNGJiNzQ4YTAtYWZkYS00OTU2LTg4ZTktNTkzNjY1YmU2OTlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA5MTMzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiOTljOTRmNDg0NjZjNzE5YTdmZTRiNGIxMDc0NzQwN2MxN2JlZWRmN2NiMjJiYzExYTRiN2U0ZjA0YjM3ODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.e0igvjVHDDmVIAGKm1HbyfnXNNkEoNQ_86BmfWWKx3w)
case1: 当提交的PR自身覆盖率低于阈值时,CI不予通过
case 2:补充更多用例(含直接调用)后,覆盖率达到阈值,CI通过
Ⅴ. Special notes for reviews