Skip to content

Commit

Permalink
fix how deepource report is uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kentSarmiento committed Dec 24, 2023
1 parent a8c67ec commit 49c6ba3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,15 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage reports to Deepsource
# https://docs.deepsource.com/docs/analyzers-test-coverage#with-github-actions
- name: Use pull request HEAD commit for DeepSource
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Upload coverage reports to DeepSource
run: |
curl https://deepsource.io/cli | sh
export DEEPSOURCE_DSN=${{ secrets.DEEPSOURCE_DSN }}
./bin/deepsource report --analyzer test-coverage --key rust --value-file ./lcov.info
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

0 comments on commit 49c6ba3

Please sign in to comment.