From 6a2cb5031fc7e12e145a1106990d6e444ec8d2d4 Mon Sep 17 00:00:00 2001
From: Tommy Markley <markleyt@amazon.com>
Date: Fri, 6 May 2022 16:56:28 +0000
Subject: [PATCH] Enforces equal or increasing code coverage in PRs

* Utilizes Codecov yaml configuration: https://docs.codecov.com/docs/codecov-yaml

Signed-off-by: Tommy Markley <markleyt@amazon.com>
---
 .github/.codecov.yml | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .github/.codecov.yml

diff --git a/.github/.codecov.yml b/.github/.codecov.yml
new file mode 100644
index 000000000000..1ce321b650d3
--- /dev/null
+++ b/.github/.codecov.yml
@@ -0,0 +1,7 @@
+# https://docs.codecov.com/docs/codecov-yaml
+coverage:
+  status:
+    project:
+      default:
+        # https://docs.codecov.com/docs/commit-status#target
+        target: auto  # coverage must be equal or above the previous commit