Skip to content

Commit 40baf6d

Browse files
committed
Update contributing.md to include local tests
1 parent 8eb8e19 commit 40baf6d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,34 @@ Here's a list of types that we use:
3838
| chore | Other changes that don't modify src or test files |
3939
| revert | Reverts a previous commit |
4040

41+
### Local Testing
42+
43+
We you recommend to do local testing on your changes before pushing.
44+
45+
You need first to validate your modules:
46+
47+
```shell
48+
make validate-modules
49+
```
50+
51+
Then, lint check:
52+
53+
```shell
54+
make lint
55+
```
56+
57+
For unit tests:
58+
59+
```shell
60+
make test-unit
61+
```
62+
63+
And for E2E test:
64+
65+
```shell
66+
make e2e
67+
```
68+
4169
### Further Information
4270

4371
* [Contributor License Agreement](https://git.k8s.io/community/CLA.md) Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests

0 commit comments

Comments
 (0)