Skip to content

Commit b39c358

Browse files
thijstriemstrasybrenstuvel
authored andcommitted
add coverage config
1 parent fd286bd commit b39c358

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.coveragerc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# .coveragerc to control coverage.py
2+
[run]
3+
source = flickrapi
4+
omit =
5+
setup.py
6+
.tox/*
7+
doc/*

tox.ini

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ commands =
88
coverage run -m py.test -v --cov flickrapi -r wsx
99
deps= .[test]
1010

11+
[testenv:py36]
12+
commands =
13+
python setup.py install
14+
coverage run -m py.test --doctest-modules flickrapi tests -v -r wsx
15+
coverage report
16+
deps= .[test]
17+
1118
[testenv:qa]
1219
commands =
1320
flake8

0 commit comments

Comments
 (0)