mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
[skip ci]Fix CONTRIBUTING.md title format (#7918)
Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
This commit is contained in:
parent
8cf70e4b48
commit
098886ddca
@ -101,7 +101,7 @@ And we made the following changes based on the guide:
|
|||||||
- Commit message and PR description style: refer to [good commit messages](https://chris.beams.io/posts/git-commit)
|
- Commit message and PR description style: refer to [good commit messages](https://chris.beams.io/posts/git-commit)
|
||||||
|
|
||||||
### Format code
|
### Format code
|
||||||
####GO
|
#### GO
|
||||||
```shell
|
```shell
|
||||||
$ make fmt
|
$ make fmt
|
||||||
```
|
```
|
||||||
@ -125,12 +125,12 @@ $ make clang-format
|
|||||||
## Run unit test with code coverage
|
## Run unit test with code coverage
|
||||||
Before submitting your Pull Request, make sure you have run unit test, and your code coverage rate is >= 90%.
|
Before submitting your Pull Request, make sure you have run unit test, and your code coverage rate is >= 90%.
|
||||||
|
|
||||||
###GO
|
### GO
|
||||||
```shell
|
```shell
|
||||||
$ go test -coverprofile fmtcoverage.html ./internal/allocator
|
$ go test -coverprofile fmtcoverage.html ./internal/allocator
|
||||||
ok github.com/milvus-io/milvus/internal/allocator 0.048s coverage: 69.6% of statements
|
ok github.com/milvus-io/milvus/internal/allocator 0.048s coverage: 69.6% of statements
|
||||||
```
|
```
|
||||||
###C++
|
### C++
|
||||||
Install lcov
|
Install lcov
|
||||||
```shell
|
```shell
|
||||||
$ sudo apt-get install lcov
|
$ sudo apt-get install lcov
|
||||||
|
Loading…
Reference in New Issue
Block a user