Skip to content

Commit 5f8244b

Browse files
committed
ENH: Submit coverage on AppVeyor.
This way we can get coverage for platform-dependant lines.
1 parent 18195df commit 5f8244b

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
@@ -14,7 +14,7 @@ environment:
1414
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"
1515
# Workaround for https://github.com/conda/conda-build/issues/636
1616
PYTHONIOENCODING: "UTF-8"
17-
PYTEST_ARGS: -ra --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% #--cov-report= --cov=lib
17+
PYTEST_ARGS: -ra --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% --cov-report= --cov=lib
1818
USE_PYTEST: no
1919
PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky collection order
2020
# https://github.com/pytest-dev/pytest/issues/920
@@ -175,6 +175,10 @@ artifacts:
175175
name: result_images
176176
type: zip
177177

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

0 commit comments

Comments
 (0)