Skip to content

Commit 5ba3d13

Browse files
tiborpilzTibor Pilz
authored andcommitted
ci: add deepsource coverage reporting
1 parent 2e6a712 commit 5ba3d13

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ jobs:
2020
- name: Install Dependencies
2121
run: poetry install --no-interaction --no-root
2222
- name: Test
23-
run: poetry run pytest
23+
run: |
24+
poetry run pytest --cov=commitomatic --cov-report=xml
25+
curl https://deepsource.io/cli | sh
26+
./bin/deepsource report --analyzer test-coverage --key python --value-file $PWD/coverage.xml
27+
env:
28+
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

0 commit comments

Comments
 (0)