You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a three-step process for releasing a new version of the Python SDK. Remember that people depend on this library not breaking, so don't cut corners.
329
+
329
330
1. Run the unit tests.
330
331
`python setup.py test`
331
332
2. Run the "system" tests. They use a live server to check that everything works as expected, so you'll need to have a valid Nylas application id and secret.
332
333
In the tests directory you'll find a file named `tests/credentials.py.template`. Rename it into `credentials.py` and change the APP_ID and APP_SECRET to your own app id and secret.
333
-
Run `PYTHONPATH=/your-sdk-path python tests/oauth.py` and `PYTHONPATH=/your-sdk-path python tests/system.py`.
334
+
335
+
Run the tests:
336
+
337
+
```shell
338
+
PYTHONPATH=/your-sdk-path python tests/oauth.py
339
+
PYTHONPATH=/your-sdk-path python tests/system.py
340
+
```
341
+
334
342
3. Finally, you can create a new release by doing:
0 commit comments