mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Merge pull request #571 from tahoe-lafs/3000.windows-coverage
Report code coverage from Windows CI Fixes: ticket:3000
This commit is contained in:
commit
135462ccd3
@ -48,9 +48,9 @@ test_script:
|
|||||||
# Put your test command here.
|
# Put your test command here.
|
||||||
# Note that you must use the environment variable %PYTHON% to refer to
|
# Note that you must use the environment variable %PYTHON% to refer to
|
||||||
# the interpreter you're using - Appveyor does not do anything special
|
# the interpreter you're using - Appveyor does not do anything special
|
||||||
# to put the Python evrsion you want to use on PATH.
|
# to put the Python version you want to use on PATH.
|
||||||
- |
|
- |
|
||||||
%PYTHON%\Scripts\tox.exe -e py
|
%PYTHON%\Scripts\tox.exe -e coverage
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
# This builds the main tahoe wheel, and wheels for all dependencies.
|
# This builds the main tahoe wheel, and wheels for all dependencies.
|
||||||
@ -63,6 +63,10 @@ after_test:
|
|||||||
rd /s /q _trial_temp
|
rd /s /q _trial_temp
|
||||||
%PYTHON%\python.exe setup.py bdist_wheel
|
%PYTHON%\python.exe setup.py bdist_wheel
|
||||||
%PYTHON%\python.exe -m pip wheel -w dist .
|
%PYTHON%\python.exe -m pip wheel -w dist .
|
||||||
|
- |
|
||||||
|
%PYTHON%\python.exe -m pip install codecov coverage
|
||||||
|
%PYTHON%\python.exe -m coverage xml -o coverage.xml -i
|
||||||
|
%PYTHON%\python.exe -m codecov -X search -X gcov -f coverage.xml
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
# bdist_wheel puts your built wheel in the dist directory
|
# bdist_wheel puts your built wheel in the dist directory
|
||||||
|
0
newsfragments/3000.minor
Normal file
0
newsfragments/3000.minor
Normal file
Loading…
Reference in New Issue
Block a user