This image is used to run Python3 projects tests with Tox on multiple Python versions, managed by Pyenv.
These Python versions are managed by this image using pyenv:
- 3.6.10
- 3.7.7
- 3.8.3
- curl
- git
- libbz2-dev
- libffi-dev
- libpython3.5-dev
- libreadline-dev
- libsqlite3-dev
- libssl-dev
- libxml2-dev
- libxslt1-dev
- locales
- lsb-release
- python3
- python3-pip
- python3-virtualenv
- zip
Name | Default value |
---|---|
USER_NAME | pyenv-test |
USER_UID | 6000 |
Tests are done using Testinfra. You must have pip installed to run tests
-
Install dependencies
pip install -r requirements.txt
-
Run tests
pytest