The tests use pytest.
To run the test suite, run the following in a fresh virtualenv:
pip install -r requirements.txt
pytest
You will need to install Tox. The test suite can then be run in multiple Python versions as follows:
tox
By default, Tox looks for tox.ini
in the current directory, and uses it to determine
which Python versions to use, which requirements to install, how to run the tests, etc.
See .github/workflows/ci.yml
.
GitHub Actions are set up on the official Github repo (https://github.com/SemaphoreSolutions/s4-clarity-lib). They runs automatically on every pull request.