From 1054b19e42b65525b8b0f4e316307ae86be1c39e Mon Sep 17 00:00:00 2001
From: Raju Dawadi <rajudawadinp@gmail.com>
Date: Mon, 26 Sep 2022 00:03:17 +0545
Subject: [PATCH 1/2] fix codecov.yml file with patch reporting

---
 codecov.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/codecov.yml b/codecov.yml
index befd52929..c3e375a78 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -4,7 +4,6 @@ comment:
   behavior: default
   layout: "reach, diff, flags, files"
 
-
 ignore:
   - "**/test_*"
   - "**/*_test.*"
@@ -19,7 +18,11 @@ coverage:
   round: down
   status:
     project: no
-    patch: yes
-    changes: yes
+    patch: # patch status only measures lines adjusted in the pull request or single commit
+      default:
+        target: auto
+        threshold: 2% # Allow the coverage to drop by X%, and posting a success status.
+        base: auto
+    changes: no # Codecov will detect changes in coverage that are NOT included in the commit/pull diff
 github_checks:
-  annotations: true
\ No newline at end of file
+  annotations: true

From 4dbb0e60979a0c009a034968629a33da715f9e2f Mon Sep 17 00:00:00 2001
From: Raju Dawadi <rajudawadinp@gmail.com>
Date: Mon, 26 Sep 2022 00:33:26 +0545
Subject: [PATCH 2/2] add target 80%

---
 codecov.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/codecov.yml b/codecov.yml
index c3e375a78..76d71d341 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -20,7 +20,7 @@ coverage:
     project: no
     patch: # patch status only measures lines adjusted in the pull request or single commit
       default:
-        target: auto
+        target: 80% # target of an exact coverage number such as 75% or 100%
         threshold: 2% # Allow the coverage to drop by X%, and posting a success status.
         base: auto
     changes: no # Codecov will detect changes in coverage that are NOT included in the commit/pull diff