From 235ee00a3e01b4aafc4c4e23ab356c8e0f0e22ef Mon Sep 17 00:00:00 2001 From: Gui Iribarren Date: Mon, 23 Oct 2023 12:36:52 +0200 Subject: [PATCH] ci: don't send code coverage to DeepSource as it turns out, it's pretty useless. --- .deepsource.toml | 3 --- .github/workflows/main.yml | 21 --------------------- 2 files changed, 24 deletions(-) diff --git a/.deepsource.toml b/.deepsource.toml index fee378855..91bb717fd 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -9,9 +9,6 @@ name = "secrets" [[analyzers]] name = "docker" -[[analyzers]] -name = "test-coverage" - [[analyzers]] name = "go" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index edda52f9d..3c7fe9828 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -223,24 +223,3 @@ jobs: uses: shogo82148/actions-goveralls@v1 with: parallel-finished: true - - job_gocoverage_deepsource: - name: Publish coverage (DeepSource) - runs-on: ubuntu-latest - needs: [job_gocoverage_textfmt] - continue-on-error: true # never mark the whole CI as failed because of this job - steps: - - uses: actions/checkout@v3 - - uses: benjlevesque/short-sha@v2.2 # sets env.SHA to the first 7 chars of github.sha - - uses: actions/download-artifact@v3 - with: - name: gocoverage-all-textfmt@${{ env.SHA }} - - name: Send coverage to DeepSource - env: - DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} - run: | - # Install the CLI - curl https://deepsource.io/cli | sh - - # Send the report to DeepSource - ./bin/deepsource report --analyzer test-coverage --key go --value-file gocoverage-merged@${{ env.SHA }}.txt