Skip to content

Commit c92872b

Browse files
committed
Fix CI workflow: Add pytest-cov dependency
- Add pytest-cov to dev dependencies in pyproject.toml - Update CI workflow to use proper coverage reporting - Tests now run successfully with coverage metrics
1 parent b840380 commit c92872b

File tree

4 files changed

+135
-49
lines changed

4 files changed

+135
-49
lines changed

.coverage

52 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: uv sync --all-extras --dev
3131

3232
- name: Run tests
33-
run: uv run pytest --cov=system_info_mcp --cov-report=xml
33+
run: uv run pytest --cov=system_info_mcp --cov-report=term-missing
3434

3535
- name: Run linting
3636
run: uv run ruff check src/ tests/

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@ dev = [
4949
"mypy>=1.16.1",
5050
"pytest>=8.4.1",
5151
"pytest-asyncio>=1.0.0",
52+
"pytest-cov>=4.0.0",
5253
"ruff>=0.12.1",
5354
]

0 commit comments

Comments
 (0)