Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code coverage #51

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Add code coverage #51

wants to merge 7 commits into from

Conversation

MohamedNasser8
Copy link
Collaborator

@MohamedNasser8 MohamedNasser8 commented Oct 1, 2024

Add Coverage Tracking and Pre-commit Hook

Summary

  • This PR introduces code coverage tracking using the coverage package and sets up a pre-commit hook to ensure coverage checks are run before commits.

Changes

  • Added coverage package:

  • Integrated coverage to track code coverage.

  • Created coverage.py script:

    • This script runs the coverage check and is executed by the pre-commit hook.
  • Configured pre-commit hook:

    • Added a custom pre-commit hook to run the coverage check script.
    • Excluded the tests/ directory from coverage tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant