summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 79cb94f0..f8f4017d 100644
--- a/tasks.py
+++ b/tasks.py
@@ -26,5 +26,9 @@ www = Collection.from_module(_docs, name='www', config={
def test(ctx):
ctx.run("python test.py --verbose")
+@task
+def coverage(ctx):
+ ctx.run("coverage run --source=paramiko test.py --verbose")
+
-ns = Collection(test, docs=docs, www=www)
+ns = Collection(test, coverage, docs=docs, www=www)