From 60964a293a86959316d237951950498d5b70955c Mon Sep 17 00:00:00 2001
From: Heberto Mayorquin <h.mayorquin@gmail.com>
Date: Wed, 21 Feb 2024 16:27:03 -0600
Subject: [PATCH] Correct path for `codecov.yml` (#759)

Co-authored-by: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com>
---
 .github/workflows/deploy-tests.yml | 1 +
 .github/workflows/testing.yml      | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy-tests.yml b/.github/workflows/deploy-tests.yml
index 72227839e..a1a6ae790 100644
--- a/.github/workflows/deploy-tests.yml
+++ b/.github/workflows/deploy-tests.yml
@@ -35,6 +35,7 @@ jobs:
       AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
       AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
       S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}
+      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
 
 
   run-live-service-tests:
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index a2ddcffbc..4f97b027c 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -10,6 +10,8 @@ on:
         required: true
       S3_GIN_BUCKET:
         required: true
+      CODECOV_TOKEN:
+        required: true
   workflow_dispatch:
 
 jobs:
@@ -139,4 +141,6 @@ jobs:
           file: ./codecov.xml
           flags: unittests
           name: codecov-umbrella
-          yml: ./codecov.yml
+          codecov_yml_path: ./codecov.yml
+          fail_ci_if_error: true
+          verbose: true