Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.29 KB

README.rst

File metadata and controls

72 lines (39 loc) · 1.29 KB

https://travis-ci.com/pklejch/GitHub-Issues-Bot.svg?token=Wsjf89ecpz1KadZ1RsAF&branch=master

GitHub-Issues-Bot

GitHub Issues Bot scans issues of selected repository and tags those issues.

Don't forget to fill auth.conf configuration file.

How to test

Run:

python setup.py test

or

pytest -v tests/test_app.py

If you have filled auth.conf with right values, you can use online testing. With real HTTP requests. Old cassettes will be rewrited. Eg:

AUTH_FILE=issuelabeler/auth.conf pytest -v tests/test_app.py

If you dont specify enviroment variable AUTH_FILE, test will use recorded betamax cassettes.

How to build documentation

Create virtual enviroment with:

python3 -m venv env

Activate virtual enviroment:

. env/bin/activate

Change your working directory to docs:

cd docs/

Install dependencies:

python -m pip install -r requirements.txt

To build documentation in HTML format, run following command:

make html

This will create documentantion in HTML format in _build/html. You can start reading documentation by opening _build/html/index.html in your browser.

To run doctests run command:

make doctest