mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Fix coverage paths
This commit is contained in:
parent
162b21bb75
commit
e6af67d513
|
@ -72,7 +72,7 @@ build_script:
|
||||||
test_script:
|
test_script:
|
||||||
- cd c:\pillow
|
- cd c:\pillow
|
||||||
- '%PYTHON%\%PIP_DIR%\pip.exe install pytest pytest-cov'
|
- '%PYTHON%\%PIP_DIR%\pip.exe install pytest pytest-cov'
|
||||||
- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov-report term --cov-report xml Tests'
|
- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov src/PIL --cov-report term --cov-report xml Tests'
|
||||||
#- '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest?
|
#- '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest?
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
|
|
|
@ -7,7 +7,7 @@ make clean
|
||||||
make install-coverage
|
make install-coverage
|
||||||
|
|
||||||
python selftest.py
|
python selftest.py
|
||||||
python -m pytest -vx --cov PIL --cov-report term Tests
|
python -m pytest -vx --cov src/PIL --cov-report term Tests
|
||||||
|
|
||||||
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
|
pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ Run all the tests from the root of the Pillow source distribution::
|
||||||
|
|
||||||
Or with coverage::
|
Or with coverage::
|
||||||
|
|
||||||
pytest -vx --cov PIL --cov-report term Tests
|
pytest -vx --cov src/PIL --cov-report term Tests
|
||||||
coverage html
|
coverage html
|
||||||
open htmlcov/index.html
|
open htmlcov/index.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user