diff options
author | Matus Valo <matusvalo@gmail.com> | 2020-04-30 00:01:12 +0200 |
---|---|---|
committer | Asif Saif Uddin <auvipy@gmail.com> | 2020-05-03 09:39:28 +0600 |
commit | 75667082e0d6031ef5029956bd8dcff3c44f1d73 (patch) | |
tree | b10477100595413e94b94d05ad6a872c8cd2b809 /tox.ini | |
parent | 1b89912a83124f8887e2fd601f64e432b942d7e2 (diff) | |
download | kombu-75667082e0d6031ef5029956bd8dcff3c44f1d73.tar.gz |
Initial redis integration tests implementation
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,7 @@ envlist = {2.7,pypy,pypy3,3.5,3.6,3.7-{linux,windows},3.8{linux,windows}}-unit {2.7,pypy,pypy3,3.5,3.6,3.7-{linux,windows},3.8{linux,windows}}-integration-py-amqp + {2.7,pypy,pypy3,3.5,3.6,3.7-{linux,windows},3.8{linux,windows}}-integration-redis flake8 flakeplus apicheck @@ -27,6 +28,7 @@ deps= commands = unit: python -bb -m pytest -rxs -xv --cov=kombu --cov-report=xml --no-cov-on-fail {posargs} integration-py-amqp: py.test -xv -E py-amqp t/integration {posargs:-n2} + integration-redis: py.test -xv -E redis t/integration {posargs:-n2} basepython = 2.7,flakeplus,flake8,linkcheck,cov: python2.7 @@ -40,6 +42,7 @@ install_command = python -m pip --disable-pip-version-check install {opts} {pack docker = integration-py-amqp: rabbitmq:alpine + integration-redis: redis:alpine dockerenv = PYAMQP_INTEGRATION_INSTANCE=1 @@ -53,6 +56,14 @@ healthcheck_timeout = 10 healthcheck_retries = 30 healthcheck_start_period = 5 +[docker:redis:alpine] +ports = 6379:6379/tcp +healthcheck_cmd = /bin/sh -c 'redis-cli ping' +healthcheck_interval = 10 +healthcheck_timeout = 10 +healthcheck_retries = 30 +healthcheck_start_period = 5 + [testenv:apicheck] commands = pip install -U -r{toxinidir}/requirements/dev.txt sphinx-build -j2 -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck |