Skip to content

Commit 50c0a3b

Browse files
committed
Add coverage report
1 parent 402016f commit 50c0a3b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
build/
1212
dist/
1313
MySQLdb/release.py
14+
.coverage

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
envlist = py26, py27, pypy, py33, py34
33

44
[testenv]
5-
commands = py.test
6-
deps = pytest
5+
commands =
6+
py.test --cov {envsitepackagesdir}/MySQLdb
7+
deps =
8+
coverage==3.7.1
9+
pytest
10+
pytest-cov

0 commit comments

Comments
 (0)