File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
@@ -140,6 +140,8 @@ test_script:
140140 - if x%USE_PYTEST% == xno python tests.py %PYTEST_ARGS%
141141 # Generate a html for visual tests
142142 - python visual_tests.py
143+ - if x%USE_PYTEST% == xyes pip install codecov
144+ - if x%USE_PYTEST% == xyes codecov -e PYTHON_VERSION PLATFORM
143145
144146after_test :
145147 # After the tests were a success, build packages (wheels and conda)
@@ -175,6 +177,8 @@ artifacts:
175177 name : result_images
176178 type : zip
177179
180+ on_finish :
181+
178182on_failure :
179183 - python visual_tests.py
180184 - echo zipping images after a failure...
You can’t perform that action at this time.
0 commit comments