Sign inSign up

painless/tox

By painless

•Updated almost 6 years ago

Python testing with tox. If you need Git.

Image
1

50K+

painless/tox repository overview

⁠Tox

dockeri.co

MIT License GitHub issues GitHub PRs

Alternative Docker base image for Python testing with tox⁠. If you need Git or database client libraries for running your tests.

Ships with the prerequisites for installing psycopg2, mysql-python and mysqlclient, and optionally some other software.

⁠Python Test Automation

Derives from themattrix/tox⁠, which you may use if you don't need Git, database client libraries, etc.

⁠Supported Tags

  • latest size/layers (base image with tox and Git, prepared for Postgres and MariaDB)
  • kubernetes size/layers (with additional software for running tests/linting against Kubernetes manifests)
  • multi size/layers (provides additional software for running tests against multiple technologies, such as PHP Composer)

⁠Example

Run tests with tox from your repository root:

# docker-compose.yml

version: '2'

services:
  app:
    image: painless/tox
    volumes:
      - .:/app

⁠Pragmatic Tips

⁠Speed up your builds

Build your own image running tox --notest with your tox.ini file, push it to your (private) registry, and use that image for your builds. When your builds run, any missing -- and only those! -- dependencies are installed. Your builds will be lightning-fast and still reliable!

Tag summary

Content type

Image

Digest

Size

496.8 MB

Last updated

almost 6 years ago

docker pull painless/tox