Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Coverage config#8003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Coverage config#8003
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2,12 +2,8 @@ | ||
source= | ||
matplotlib | ||
mpl_toolkits | ||
[report] | ||
exclude_lines = | ||
raise NotImplemented | ||
def __str__ | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,7 +14,7 @@ environment: | ||
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" | ||
# Workaround for https://github.com/conda/conda-build/issues/636 | ||
PYTHONIOENCODING: "UTF-8" | ||
PYTEST_ARGS: -ra --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% --cov-report= --cov=lib | ||
USE_PYTEST: no | ||
PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky collection order | ||
# https://github.com/pytest-dev/pytest/issues/920 | ||
@@ -140,6 +140,8 @@ test_script: | ||
- if x%USE_PYTEST% == xno python tests.py %PYTEST_ARGS% | ||
# Generate a html for visual tests | ||
- python visual_tests.py | ||
- if x%USE_PYTEST% == xyes pip install codecov | ||
- if x%USE_PYTEST% == xyes codecov -e PYTHON_VERSION PLATFORM | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. These lines mean that codecov only happens if I don't know if running the tests using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yea, these conditions could be dropped. | ||
after_test: | ||
# After the tests were a success, build packages (wheels and conda) | ||
@@ -175,6 +177,8 @@ artifacts: | ||
name: result_images | ||
type: zip | ||
on_finish: | ||
on_failure: | ||
- python visual_tests.py | ||
- echo zipping images after a failure... | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
# codecov can find this file anywhere in the repo, so we don't need to clutter | ||
# the root folder. | ||
comment: false | ||
codecov: | ||
notify: | ||
require_ci_to_pass: no | ||
coverage: | ||
status: | ||
patch: | ||
default: | ||
target: '80' | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: failure | ||
project: | ||
default: false | ||
library: | ||
target: auto | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: failure | ||
paths: '!lib/.*/tests/.*' | ||
tests: | ||
target: 97.7% | ||
paths: 'lib/.*/tests/.*' |