No need to run coverage on dev machines

This commit is contained in:
Hugo 2017-12-28 12:02:13 +02:00 committed by wiredfool
parent 0bb3f4fee9
commit cc35bd70bc
3 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,8 @@ python setup.py clean
CFLAGS="-coverage" python setup.py build_ext --inplace
python selftest.py
python setup.py test
python -m pytest -vx --cov PIL --cov-report term Tests
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
# Docs

View File

@ -33,7 +33,7 @@ Or with coverage::
To run an individual test::
pytest Tests/test_image.py
pytest -k Tests/test_image.py
Run all the tests from the root of the Pillow source distribution::

View File

@ -3,4 +3,4 @@ test=pytest
[metadata]
license_file = LICENSE
[tool:pytest]
addopts = -vx --cov PIL --cov-report term Tests
addopts = -vx Tests