Skip to content

Commit 6459b9c

Browse files
committed
add coverage
1 parent 136ab11 commit 6459b9c

File tree

3 files changed

+87
-1
lines changed

3 files changed

+87
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- name: Install bubblewrap
2525
run: sudo apt-get update && sudo apt-get install -y bubblewrap
2626
- run: uv sync --dev
27-
- run: uv run pytest
27+
- run: uv run pytest --cov --cov-report=term-missing

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies = [
1313
dev = [
1414
"pytest>=8.4.2",
1515
"pytest-asyncio>=1.2.0",
16+
"pytest-cov>=7.0.0",
1617
"pytest-mock>=3.15.1",
1718
"pytest-timeout>=2.3.1",
1819
"ruff>=0.14.6",
@@ -37,3 +38,11 @@ ignore = [
3738

3839
[tool.ruff.format]
3940
quote-style = "double"
41+
42+
[tool.coverage.run]
43+
source = ["main", "shell_engine", "mcp_client", "toolhive_client"]
44+
branch = true
45+
46+
[tool.coverage.report]
47+
show_missing = true
48+
skip_covered = false

0 commit comments

Comments
 (0)