Skip to content

Commit 7d8e0cd

Browse files
Add running tests to CONTRIBUTING
1 parent debc9e8 commit 7d8e0cd

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,32 @@ Changes should always include tests. If this is a bug fix it is a good idea to a
5757
first commit of the pull request and the changes to fix the issue in subsequent commits to make it
5858
easier to validate it.
5959

60+
### Running tests before submitting pull request
61+
62+
To run local tests, first install the test requirements:
63+
64+
```shell
65+
python3 -m pip install -e . -r requirements-test.txt
66+
```
67+
68+
Then, run the check:
69+
70+
```shell
71+
make check
72+
```
73+
74+
To run check for only Python, run:
75+
76+
```shell
77+
make check-python
78+
```
79+
80+
To run check for only JS, run:
81+
82+
```shell
83+
make check-js
84+
```
85+
6086
## Pull requests
6187

6288
### Linting your code

0 commit comments

Comments
 (0)