Skip to content

Commit fe2e2b0

Browse files
committed
Add coverage reporting for python sidecar
1 parent 615e0c1 commit fe2e2b0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/on-push.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ jobs:
9393
- name: Setup Python
9494
uses: ./.github/actions/setup-python
9595
- name: PyTest
96-
run: poetry run pytest python/tests
96+
run: poetry run pytest python/tests --cov=python --cov-report=xml
97+
- name: Upload python coverage to Codecov
98+
uses: codecov/codecov-action@v3
99+
with:
100+
token: ${{ secrets.CODECOV_TOKEN }}
101+
verbose: true
97102

98103
# constraints:
99104
# needs: setup-js

0 commit comments

Comments
 (0)