-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: don't send code coverage to DeepSource
as it turns out, it's pretty useless.
- Loading branch information
Showing
2 changed files
with
0 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |