Skip to content

Commit 7e6ef69

Browse files
Chore: Update pytest coverage parameters in pyproject.toml
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 03ec8d2 commit 7e6ef69

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ osc-transformer-presteps = "osc_transformer_presteps.cli:run"
6767
]
6868
test = [
6969
"pdm[pytest]",
70-
"pytest>=8.1.1",
71-
"pytest-cov>=5.0.0",
70+
"pytest",
71+
"pytest-cov",
72+
"pytest-html",
7273
]
7374

7475
[tool.pdm.scripts]
@@ -89,7 +90,7 @@ lint = ["pre-commit"]
8990
testpaths = [
9091
"tests/",
9192
]
92-
addopts = "--cov"
93+
addopts = ["--cov", "--cov-report=html"]
9394

9495
[tool.coverage.run]
9596
source = ["src"]
@@ -99,7 +100,7 @@ omit = ["test/*"]
99100
[tool.coverage.report]
100101
fail_under = 95
101102
skip_empty = true
102-
format = ["term", "term-missing", "html", "text"]
103+
show_missing = true
103104

104105
[tool.yapf]
105106
blank_line_before_nested_class_or_def = true

0 commit comments

Comments
 (0)