Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MAINT check status of codecov #25875

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 3 .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ comment: false

coverage:
status:
changes: true
project:
default:
# Commits pushed to main should not make the overall
Expand All @@ -23,7 +24,7 @@ codecov:
# running CI pipelines. This configuration is particularly useful on PRs
# to avoid confusion. Note that this value is set to the number of Azure
# Pipeline jobs uploading coverage reports.
after_n_builds: 6
after_n_builds: 4

ignore:
- "sklearn/externals"
Expand Down
3 changes: 2 additions & 1 deletion 3 build_tools/azure/upload_codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ source activate $VIRTUALENV
# from TEST_DIR where pytest has been run
pushd $TEST_DIR
coverage combine --append
coverage report -m
popd
cp $TEST_DIR/.coverage $BUILD_REPOSITORY_LOCALPATH

codecov --root $BUILD_REPOSITORY_LOCALPATH -t $CODECOV_TOKEN || echo "codecov upload failed"
codecov -v --root $BUILD_REPOSITORY_LOCALPATH -t $CODECOV_TOKEN || echo "codecov upload failed"
8 changes: 8 additions & 0 deletions 8 sklearn/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
from .utils._param_validation import validate_parameter_constraints


def not_covered_by_test():
"""Function not covered by tests.

It is used to test the coverage report generation.
"""
print("This function is not covered by tests.")


def clone(estimator, *, safe=True):
"""Construct a new unfitted estimator with the same parameters.

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.