Skip to content

Conversation

@ThanosTsiamis
Copy link
Contributor

This PR introduces a standardized .githooks/ directory and sets Git’s core.hooksPath so that all contributors automatically run the test suite before committing or pushing code.
This ensures higher code quality, fewer regressions, and more reliable collaboration across the team.

Why Git commit hooks are important

Git hooks provide an automated safety net that prevents bad code from entering the repository.
They catch issues early, before code is pushed upstream or reviewed.

Specifically, commit hooks:

  • Prevent broken code from being committed. Developers may forget to manually run the test suite. Automated pre-commit execution guarantees no commit lands with failing tests.

  • Reduce CI load and pipeline failures. If test failures are caught locally, CI doesn’t need to waste cycles on preventable errors.

  • Improve consistency across the team. Every contributor follows the same workflow — no more “it works on my machine but fails on CI” situations.

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.08%. Comparing base (64a52bc) to head (7870d26).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   92.51%   90.08%   -2.44%     
==========================================
  Files          40       40              
  Lines        1724     1724              
  Branches      244      244              
==========================================
- Hits         1595     1553      -42     
- Misses         93      132      +39     
- Partials       36       39       +3     
Flag Coverage Δ
unit 90.08% <ø> (-2.44%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

Choose a reason for hiding this comment

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

was this supposed to be included in this PR?

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.

2 participants