Skip to content

Commit f210c91

Browse files
committed
add pytest-cov
1 parent c2a6164 commit f210c91

File tree

3 files changed

+85
-2
lines changed

3 files changed

+85
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
image: ${{ env.IMAGE_NAME }}:ci
5656
options: -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres
57-
run: pytest
57+
run: pytest --cov=teufa tests/
5858
- name: Upload coverage reports to Codecov
5959
uses: codecov/[email protected]
6060
with:

poetry.lock

+83-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ teufa = "teufa.cli:cli"
2222

2323
[tool.poetry.group.test.dependencies]
2424
pytest = "^8.2.0"
25+
pytest-cov = "^5.0.0"
2526

2627
[tool.poetry.group.dev.dependencies]
2728
pydeps = "^1.12.20"

0 commit comments

Comments
 (0)