chore: cov settings, and fix serveral building warnings (#281)
* chore: cov settings, update Python test dependencies and adjust command arguments * fix: remove .vscode dir
This commit is contained in:
parent
8e1490bcd8
commit
55215b6170
1 changed files with 40 additions and 10 deletions
|
|
@ -10,4 +10,24 @@ just fix
|
|||
# How Can I Rewrite My Commit Message?
|
||||
You can `git reset --soft upstream/main` and `git commit --forge`, this will merge your changes into one commit.
|
||||
|
||||
Or you also can use git rebase. But we will still merge them into one commit when it is merged.
|
||||
Or you also can use git rebase. But we will still merge them into one commit when it is merged.
|
||||
|
||||
# Check Code Coverage
|
||||
If you are developing on vscode, you can use vscode plugin [Coverage Gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters)
|
||||
|
||||
And also need to install llvm-cov
|
||||
```sh
|
||||
cargo install cargo-llvm-cov
|
||||
|
||||
rustup component add llvm-tools-preview
|
||||
```
|
||||
|
||||
If you are using goverage gutters plugin, add these config to let it know lcov output.
|
||||
```json
|
||||
{
|
||||
"coverage-gutters.coverageFileNames": [
|
||||
"coverage.lcov",
|
||||
],
|
||||
"coverage-gutters.coverageBaseDir": "target/llvm-cov-target",
|
||||
}
|
||||
```
|
||||
Loading…
Reference in a new issue