File tree 4 files changed +13
-4
lines changed 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,6 @@ install: pip install tox-travis coveralls
7
7
8
8
script : tox
9
9
10
- after_success : coveralls
10
+ after_success :
11
+ - tox -e coverage-report
12
+ - coveralls
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ source = pytest_asyncio
5
5
show_missing = true
6
6
7
7
[tool:pytest]
8
- addopts = -rsx --tb =short --cov
8
+ addopts = -rsx --tb =short
9
9
testpaths = tests
10
10
11
11
[metadata]
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def find_version():
39
39
],
40
40
extras_require = {
41
41
':python_version == "3.5"' : 'async_generator >= 1.3' ,
42
- 'testing' : ['pytest-cov ' , 'async_generator >= 1.3' ],
42
+ 'testing' : ['coverage ' , 'async_generator >= 1.3' ],
43
43
},
44
44
entry_points = {
45
45
'pytest11' : ['asyncio = pytest_asyncio.plugin' ],
Original file line number Diff line number Diff line change @@ -4,4 +4,11 @@ minversion = 2.5.0
4
4
5
5
[testenv]
6
6
extras = testing
7
- commands = python -m pytest {posargs}
7
+ commands = coverage run -m pytest {posargs}
8
+
9
+ [testenv:coverage-report]
10
+ deps = coverage
11
+ skip_install = true
12
+ commands =
13
+ coverage combine
14
+ coverage report
You can’t perform that action at this time.
0 commit comments