From 28a2a532a8fd2c78dfcb924c087e8d573d99694e Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Fri, 25 Feb 2022 10:52:00 -0500 Subject: [PATCH] Remove Codecov for coverage (#954) --- .github/workflows/ci.yaml | 6 ------ README.md | 2 +- codecov.yml | 21 --------------------- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 codecov.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 511d074fd7..0e19723c89 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,12 +89,6 @@ jobs: # Run only test targets, and not golden_update targets. run: bazel coverage //:units --combined_report=lcov - - name: Upload Code Coverage Report - uses: codecov/codecov-action@v2 - with: - name: actions ${{ matrix.java }} - files: ./bazel-out/_coverage/_coverage_report.dat - license-header: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index d9c6914dc9..21b323f741 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![codecov](https://codecov.io/gh/googleapis/gapic-generator-java/branch/main/graph/badge.svg?token=3RUU37GX9U)](https://codecov.io/gh/googleapis/gapic-generator-java) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=googleapis_gapic-generator-java&metric=coverage)](https://sonarcloud.io/summary/new_code?id=googleapis_gapic-generator-java) # API Client Generator for Java Generates a Java client library from protocol buffers. diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 6508e14940..0000000000 --- a/codecov.yml +++ /dev/null @@ -1,21 +0,0 @@ -codecov: - notify: - require_ci_to_pass: yes - - coverage: - precision: 2 - round: down - range: 70...100 - - status: - project: true - default: - informational: true - patch: true - default: - informatioanl: true - changes: false - - comment: - layout: "header, diff, uncovered" - behavior: default # update if exists else create new \ No newline at end of file