Skip to content

Commit 8d8cd42

Browse files
committed
Add pytest-cov, pin pytest
1 parent 40b53ac commit 8d8cd42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ classifiers = [
3636

3737
[project.optional-dependencies]
3838
test = [
39+
"pytest~=8.3",
40+
"pytest-cov~=5.0",
3941
"pytest-httpserver>=1.0.10",
4042
]
4143

setup.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ python =
2020
3.12: py312,black,lint,flake8,mypy
2121

2222
[testenv:{py38,py39,py310,py311,py312}-test]
23-
deps =
24-
pytest-httpserver
25-
pytest
26-
commands = pytest tests
23+
commands = pytest tests {posargs:--cov --cov-report=term-missing}
24+
extras = test
2725

2826
[testenv:py312-black]
2927
deps = black

0 commit comments

Comments
 (0)