mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-18 15:20:42 +01:00
Add note on how to run test_official to contrib guide (#1740)
This commit is contained in:
parent
d96d233dc5
commit
408062dd43
1 changed files with 8 additions and 0 deletions
8
.github/CONTRIBUTING.rst
vendored
8
.github/CONTRIBUTING.rst
vendored
|
@ -113,6 +113,14 @@ Here's how to make a one-off code change.
|
|||
|
||||
$ pytest -v
|
||||
|
||||
To run ``test_official`` (particularly useful if you made API changes), run
|
||||
|
||||
.. code-block::
|
||||
|
||||
$ export TEST_OFFICIAL=True
|
||||
|
||||
prior to running the tests.
|
||||
|
||||
- To actually make the commit (this will trigger tests for yapf, lint and pep8 automatically):
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
Loading…
Reference in a new issue