Skip to content

Commit c74c639

Browse files
committed
ENH: Submit coverage on AppVeyor.
This way we can get coverage for platform-dependant lines.
1 parent 2549a77 commit c74c639

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ environment:
1515
# Workaround for https://github.com/conda/conda-build/issues/636
1616
PYTHONIOENCODING: "UTF-8"
1717
TEST_ARGS: --no-pep8
18-
PYTEST_ARGS: -ra --timeout=300 --durations=25 #--cov-report= --cov=lib #-n %NUMBER_OF_PROCESSORS%
18+
PYTEST_ARGS: -ra --timeout=300 --durations=25 --cov-report= --cov=lib #-n %NUMBER_OF_PROCESSORS%
1919
USE_PYTEST: no
2020
#PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky colletion order
2121
# # https://github.com/pytest-dev/pytest/issues/920
@@ -176,6 +176,10 @@ artifacts:
176176
name: result_images
177177
type: zip
178178

179+
on_finish:
180+
- cmd: pip install codecov
181+
- cmd: codecov -e PYTHON_VERSION PLATFORM
182+
179183
on_failure:
180184
- python visual_tests.py
181185
- echo zipping images after a failure...

0 commit comments

Comments
 (0)