提交 732bd780 作者: Jeromy Johnson

Merge pull request #2655 from ipfs/feature/contribute-tests-section

Moved Tests up in Contribute.md
......@@ -19,6 +19,12 @@ Please look and conform to our [Go Contribution Guidelines](https://github.com/i
## Repository specific guidelines:
### Each Commit Must Pass Tests
All commits in a PR must pass tests. If they don't, fix the commits and/or [squash them](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Squashing-Commits) so that they do pass the tests. This should be done so that we can use git-bisect easily.
We use CI tests which run when you push to your branch. To run the tests locally, you can run any of these: `make build`, `make install`, `make test`, `go test ./...`, depending on what youre looking to do. Generally `go test ./...` is your best bet.
### Commit messages
Commit messages must start with a short subject line, followed by an optional,
......@@ -90,8 +96,3 @@ reasons why this is _the right thing to do_:
License: MIT
Signed-off-by: Juan Benet <juan@ipfs.io>
```
### Each Commit Must Pass Tests
All commits in a PR must pass tests. If they don't, fix the commits and/or [squash them](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Squashing-Commits) so that they do pass the tests. This should be done so that we can use git-bisect easily.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论