From f057c6bce42d3a57cef171d6bab1f7d614fdd40d Mon Sep 17 00:00:00 2001 From: Jeet Burman Date: Mon, 12 Jan 2026 13:29:39 +0530 Subject: [PATCH] chore: remove codecov integration - Remove codecov upload steps from go-testing-ci.yml workflow (unit-tests and integration-tests jobs) - Delete .github/codecov.yml configuration file - Retain coverage generation for local development use Part of organization-wide codecov removal effort. Signed-off-by: Jeet Burman --- .github/codecov.yml | 45 ----------------------------- .github/workflows/go-testing-ci.yml | 15 ++-------- 2 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 0f824747c2b..00000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,45 +0,0 @@ -codecov: - require_ci_to_pass: yes - -github_checks: - annotations: true #Annotations for Pull Request -coverage: - precision: 2 - round: down - range: "0...30" - status: - patch: true #GitHub Checks and annotations for the patch status are enabled by default for all GitHub users. - project: - # These flags should match with those in the Github Action ci.yml - front-end-integration-tests: - flags: - - integrationtests - front-end-e2e-tests: - flags: - - e2etests - backend: - flags: - - unittests - -flags: - # Filter the folders to be measured by each flag - # front-end-integration-tests: - # paths: - # - ui/cypress/integration/integration - # carryforward: true - # front-end-e2e-tests: - # paths: - # - ui/cypress/integration/e2e - # carryforward: true - backend: - paths: - # Accepts only glob patterns, not regex - - "*/cmd/**" - - "*/handlers/**" - - "*/helpers/**" - - "*/internal/**" - - "*/mesheryctl/**" - - "*/meshes/**" - - "*/models/**" - - "*/router/**" - carryforward: true diff --git a/.github/workflows/go-testing-ci.yml b/.github/workflows/go-testing-ci.yml index 69a06d98a42..1e47d18652e 100644 --- a/.github/workflows/go-testing-ci.yml +++ b/.github/workflows/go-testing-ci.yml @@ -52,12 +52,7 @@ jobs: go-version: "1.25" - name: Run coverage run: go test --short ./... -race -coverprofile=coverage.txt -covermode=atomic - - name: Upload coverage to Codecov - if: github.repository == 'meshery/meshery' - uses: codecov/codecov-action@v5 - with: - files: ./coverage.txt - flags: unittests + integration-tests: name: Integration tests runs-on: ubuntu-22.04 @@ -101,10 +96,4 @@ jobs: ./mesheryctl system check --preflight; ./mesheryctl system stop -y; echo "Running Mesheryctl with Kubernetes completed." - - - name: Upload coverage to Codecov - if: github.repository == 'meshery/meshery' - uses: codecov/codecov-action@v5 - with: - files: ./coverage.txt - flags: gointegrationtests +