From 8590bb6b2197c23b17d27507ea07eca0c6972272 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 18:37:18 +0300 Subject: [PATCH 1/7] Tweak .codedoc.yml to make it more useful --- .codecov.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 8650448c3e0733..481a1e66b1761b 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -2,9 +2,9 @@ codecov: notify: require_ci_to_pass: true comment: - behavior: new - layout: header, diff - require_changes: false + behavior: once + layout: diff + require_changes: true coverage: precision: 2 range: @@ -13,8 +13,12 @@ coverage: round: down status: changes: false - patch: true - project: true + patch: + only_pulls: true + paths: + - Lib/* + - Modules/* + project: false parsers: gcov: branch_detection: From c602eff9702dc871ad0b3125b988ca3137bcef34 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 18:41:49 +0300 Subject: [PATCH 2/7] Turn off comments --- .codecov.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index f7ddeb6c8a8efc..4ec4bb3a9118e7 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,10 +1,7 @@ codecov: notify: require_ci_to_pass: true -comment: - behavior: once - layout: diff - require_changes: true +comment: false coverage: precision: 2 range: @@ -19,7 +16,7 @@ coverage: - Lib/* - Modules/* default: - threshold: 0.01 + threshold: 0.01 parsers: gcov: branch_detection: From 6300e70d3c08343409f0c54d7f5d601db4d57981 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 18:45:06 +0300 Subject: [PATCH 3/7] Fix config --- .codecov.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 4ec4bb3a9118e7..8b34e6eaca1621 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -15,8 +15,7 @@ coverage: paths: - Lib/* - Modules/* - default: - threshold: 0.01 + threshold: 0.01 parsers: gcov: branch_detection: From ed506fad4ce4bfaf8bb6e036c652e766b6aa18c7 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 18:46:38 +0300 Subject: [PATCH 4/7] Disable project level cverage --- .codecov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.codecov.yml b/.codecov.yml index 8b34e6eaca1621..82503435666fe7 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -16,6 +16,7 @@ coverage: - Lib/* - Modules/* threshold: 0.01 + project: false parsers: gcov: branch_detection: From a4f2f01f6a3bb4929ce2d49631b02654067495b1 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 19:13:56 +0300 Subject: [PATCH 5/7] Fix config file --- .codecov.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 82503435666fe7..49ff9643851db2 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,7 +1,7 @@ codecov: notify: require_ci_to_pass: true -comment: false +comment: off coverage: precision: 2 range: @@ -9,14 +9,15 @@ coverage: - 100.0 round: down status: - changes: false + changes: off + project: off patch: - only_pulls: true - paths: - - Lib/* - - Modules/* - threshold: 0.01 - project: false + default: + target: 75% + only_pulls: true + paths: + - Lib/**/* + threshold: 0.01 parsers: gcov: branch_detection: From 8f4f8df2b2cbdf34181f79121330514b417b69a8 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 19:45:50 +0300 Subject: [PATCH 6/7] More cleanup --- .codecov.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 49ff9643851db2..4bb73a34a0791c 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -2,6 +2,13 @@ codecov: notify: require_ci_to_pass: true comment: off +ignore: + - "Doc/**/*" + - "Misc/*" + - "Mac/**/*" + - "PC/**/*" + - "PCbuild/**/*" + - "Tools/**/*" coverage: precision: 2 range: @@ -13,11 +20,9 @@ coverage: project: off patch: default: - target: 75% + target: 100% only_pulls: true - paths: - - Lib/**/* - threshold: 0.01 + threshold: 0.05 parsers: gcov: branch_detection: From 57955fcc40ee50af45131e176b66de7d23007fd9 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 13 Feb 2017 23:06:24 +0300 Subject: [PATCH 7/7] Add Grammar/* --- .codecov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.codecov.yml b/.codecov.yml index 4bb73a34a0791c..fcf9df6a7a698e 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -9,6 +9,7 @@ ignore: - "PC/**/*" - "PCbuild/**/*" - "Tools/**/*" + - "Grammar/*" coverage: precision: 2 range: