Added code coverage reporting with pytest-cov to the test workflow.
Format / ruff (push) Successful in 10s
Lint / ruff (push) Successful in 10s
Unit Tests / pytest (push) Successful in 18s
Type Check / mypy (push) Successful in 18s

This commit is contained in:
2026-02-16 15:25:40 -05:00
parent e499e4250b
commit 24aa484d7f
3 changed files with 70 additions and 1 deletions
+11
View File
@@ -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