add pytest-cov

This commit is contained in:
2024-05-21 08:03:18 -06:00
parent c2a61647c0
commit f210c91744
3 changed files with 85 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ jobs:
with:
image: ${{ env.IMAGE_NAME }}:ci
options: -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres
run: pytest
run: pytest --cov=teufa tests/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with: