feat: Add Codecov integration to Python workflow

This commit adds the Codecov integration to the existing Python workflow. It now uses pytest with coverage enabled, and uploads the coverage reports to Codecov using the Codecov Action.
pull/31/head
alufers 2 years ago
parent 7be42375a8
commit a0cf426966

@ -40,4 +40,6 @@ jobs:
poetry run pre-commit run --all-files
- name: Run Python tests
run: |
poetry run pytest
poetry run pytest --cov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

Loading…
Cancel
Save