Skip to content

fix: correct coverage source to track memu package instead of tests#220

Merged
ankaisen merged 1 commit intoNevaMind-AI:mainfrom
luojiyin1987:fix/coverage-config
Jan 13, 2026
Merged

fix: correct coverage source to track memu package instead of tests#220
ankaisen merged 1 commit intoNevaMind-AI:mainfrom
luojiyin1987:fix/coverage-config

Conversation

@luojiyin1987
Copy link
Contributor

Summary

Fixes #219

Corrected the coverage configuration to track the memu source package instead of the tests directory.

Problem

The [tool.coverage.run] source was set to ["tests"], which caused coverage to analyze test code coverage rather than the actual source code.

Solution

Changed source = ["tests"] to source = ["memu"] in pyproject.toml (line 153).

Verification

Ran pytest --cov --cov-report=term-missing and confirmed coverage now correctly reports for all src/memu/ modules.

Copy link
Collaborator

@ankaisen ankaisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luojiyin1987 Thank you for your fix!

@ankaisen ankaisen merged commit 2460bbd into NevaMind-AI:main Jan 13, 2026
2 checks passed
@luojiyin1987 luojiyin1987 deleted the fix/coverage-config branch January 13, 2026 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants