Use tox as a test environment manager.

Review Request #11914 — Created Jan. 9, 2022 and submitted — Latest diff uploaded

Information

kgb
master

Reviewers

kgb

kgb needs to be regularly tested with many different versions of Python.
To faciliate this, tox can now be used.

By running tox, environments will be set up for Python 2.7, 3.6-3.10,
and PyPy 3.7/3.8. Tests will then be run. This allows for rapid feedback
on whether changes to kgb work or break some supported version of
Python.

Ran tox. All tests passed.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Use tox as a test environment manager.
kgb needs to be regularly tested with many different versions of Python. To faciliate this, `tox` can now be used. By running `tox`, environments will be set up for Python 2.7, 3.6-3.10, and PyPy 3.7/3.8. Tests will then be run. This allows for rapid feedback on whether changes to kgb work or break some supported version of Python. To really speed things up, run `tox -p all`. This will run the different environments in parallel, which is safe since kgb's test environments are fully self-contained.
05e3865ad7096c9d911a6a529f74a8a4ea7f1802 Christian Hammond

Files

tox.ini
Loading...