Skip to content

Commit 5980a95

Browse files
authored
Merge pull request #158 from xianqiliu/add-coverage
generate the coverage report at CI time
2 parents 8b7350c + 0d98353 commit 5980a95

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[run]
22
source = ./amadeus
33
branch = True
4+
5+
[report]
6+
fail_under = 95

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ envlist = py34,py35,py36
44
[testenv]
55
commands =
66
flake8 amadeus specs setup.py
7-
mamba
7+
mamba --enable-coverage
8+
coverage report
89

910
deps =
1011
mamba==0.9.3

0 commit comments

Comments
 (0)