summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 306291c..138ca69 100644
--- a/tasks.py
+++ b/tasks.py
@@ -40,7 +40,24 @@ def tests(c):
"""Run the redis-py test suite against the current python,
with and without hiredis.
"""
- run("tox -e plain -e hiredis")
+ print("Starting Redis tests")
+ run("tox -e '{redis,cluster}'-'{plain,hiredis}'")
+
+
+@task
+def redis_tests(c):
+ """Run all Redis tests against the current python,
+ with and without hiredis."""
+ print("Starting Redis tests")
+ run("tox -e redis-'{hiredis}'")
+
+
+@task
+def cluster_tests(c):
+ """Run all Redis Cluster tests against the current python,
+ with and without hiredis."""
+ print("Starting RedisCluster tests")
+ run("tox -e cluster-'{plain,hiredis}'")
@task