diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 0f824747c2..0000000000 --- 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 69a06d98a4..1e47d18652 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 +