MNT Prevent coverage status update on each upload to codecov
@@ -17,6 +17,14 @@ coverage:
target: auto
threshold: 1%
+codecov:
+ notify:
+ # Prevent coverage status to upload multiple times for parallel and long
+ # 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
+
ignore:
- "sklearn/externals"
- "sklearn/_build_utils"
