mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-05 21:10:11 +03:00
multiprocess coverage
This commit is contained in:
parent
fdd5900d32
commit
7ecda007e0
|
@ -33,6 +33,7 @@ script:
|
||||||
- python Tests/run.py --coverage
|
- python Tests/run.py --coverage
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
- coverage combine
|
||||||
- coverage report
|
- coverage report
|
||||||
- coveralls
|
- coveralls
|
||||||
- pip install pep8 pyflakes
|
- pip install pep8 pyflakes
|
||||||
|
|
|
@ -303,7 +303,7 @@ def _setup():
|
||||||
import sys
|
import sys
|
||||||
if "--coverage" in sys.argv:
|
if "--coverage" in sys.argv:
|
||||||
import coverage
|
import coverage
|
||||||
cov = coverage.coverage(auto_data=True, include="PIL/*")
|
cov = coverage.coverage(auto_data=True, data_suffix=True, include="PIL/*")
|
||||||
cov.start()
|
cov.start()
|
||||||
|
|
||||||
def report():
|
def report():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user