Added code coverage reporting with pytest-cov to the test workflow.
This commit is contained in:
@@ -25,6 +25,7 @@ Repository = "https://git.logal.dev/LogalDeveloper/Owlbot"
|
||||
dev = [
|
||||
"pytest>=9.0.2",
|
||||
"pytest-asyncio>=1.3.0",
|
||||
"pytest-cov>=7.0.0",
|
||||
"freezegun>=1.5.5",
|
||||
"mypy>=1.18.1",
|
||||
"types-PyYAML>=6.0.12.20250915",
|
||||
@@ -80,3 +81,13 @@ select = [
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"owlbot/__init__.py" = ["E402"] # constants defined before imports intentionally
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["owlbot"]
|
||||
omit = [
|
||||
"owlbot/_version.py",
|
||||
]
|
||||
|
||||
[tool.coverage.report]
|
||||
show_missing = true
|
||||
skip_empty = true
|
||||
|
||||
Reference in New Issue
Block a user