Skip to content

Commit

Permalink
ci: don't send code coverage to DeepSource
Browse files Browse the repository at this point in the history
as it turns out, it's pretty useless.
  • Loading branch information
altergui authored and p4u committed Oct 23, 2023
1 parent e269d78 commit 235ee00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
3 changes: 0 additions & 3 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ name = "secrets"
[[analyzers]]
name = "docker"

[[analyzers]]
name = "test-coverage"

[[analyzers]]
name = "go"

Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected] # 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

0 comments on commit 235ee00

Please sign in to comment.