From 9d3c8ac5073cce53909e64a436e8c16ff76f55a6 Mon Sep 17 00:00:00 2001 From: gregfromstl Date: Wed, 27 Nov 2024 11:58:19 +0000 Subject: [PATCH] [SDK] Chore: Sets coverage thresholds (#5530) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CNCT-2485 --- ## PR-Codex overview This PR focuses on updating the code coverage settings and the GitHub Actions workflow for better integration with Codecov. ### Detailed summary - Updated `codecov.yml` to set `target` coverage to `80%` instead of `auto`. - Modified `.github/workflows/CI.yml`: - Changed the step name from `Upload coverage reports to Codecov` to `Code Coverage`. - Specified the `directory` for coverage reports as `packages/`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .github/workflows/CI.yml | 2 +- codecov.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 58208042b7d..3f03a3bb56a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -87,7 +87,7 @@ jobs: - run: pnpm test - - name: Upload coverage reports to Codecov + - name: Code Coverage uses: codecov/codecov-action@v5 with: directory: packages/ diff --git a/codecov.yml b/codecov.yml index 2b82a7e8e3e..906334b1939 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,7 +5,7 @@ coverage: target: auto patch: packages: - target: auto + target: 80% flags: - packages