Skip to content

Commit e56485c

Browse files
authored
Update ci.yml
1 parent 4ea1153 commit e56485c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }}
1214
- name: Set up Python 3.8
1315
uses: actions/setup-python@v2
1416
with:
@@ -23,3 +25,9 @@ jobs:
2325
uses: codecov/codecov-action@v1
2426
# with:
2527
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
28+
- name: Report results to DeepSource
29+
run: |
30+
curl https://deepsource.io/cli | sh
31+
./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml
32+
env:
33+
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

0 commit comments

Comments
 (0)