From 3307e62c761c019665e764ba932f0199208fc2bb Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Sep 2018 14:52:25 +0000 Subject: [PATCH] Enable Codecov comment --- .codecov.yml | 61 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 8 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 97624c21b8fa..55647d4858c9 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -9,9 +9,37 @@ coverage: range: "70...100" status: - project: yes - patch: yes - changes: no + changes: yes + + patch: + default: + # basic + target: auto + threshold: null + base: auto + # advanced + branches: null + if_no_uploads: error + if_not_found: success + if_ci_failed: error + only_pulls: false + flags: null + paths: null + + project: + default: + # basic + target: auto + threshold: null + base: auto + # advanced + branches: null + if_no_uploads: error + if_not_found: success + if_ci_failed: error + only_pulls: false + flags: null + paths: null parsers: gcov: @@ -25,8 +53,25 @@ ignore: - "cpp-package/example/**/*" - "tests/**/*" -# Disable comments for now to gather data in the background -comment: false -# layout: "header, diff" -# behavior: default -# require_changes: no +flags: + # filter the folder(s) you wish to measure by that flag + python: + paths: + - python/mxnet/ + r-package: + paths: + - R-package/ + clojure: + paths: + - scala-package/ + backend: + paths: + - include/mxnet/ + - src/ + +comment: + layout: "header, diff, flags, files" + behavior: default + require_changes: false # if true: only post the comment if coverage changes + require_base: no # [yes :: must have a base report to post] + require_head: yes # [yes :: must have a head report to post]