Skip to content

Add pre-commit hook and quality CI - #7

Merged
turtleisaac merged 1 commit into
mainfrom
quality-gates
Nov 12, 2026
Merged

turtleisaac merged 1 commit into
mainfrom
quality-gates

Conversation

@turtleisaac

@turtleisaac turtleisaac commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Adds a pre-commit hook that runs Spotless and the CRAP and duplication gates on staged Java, plus CI for those gates and for PIT. Baselines are taken from the current tree, so existing code passes and a regression fails. Enable the hook with git config core.hooksPath .githooks.

Spotless, CRAP, and duplication run on staged Java. CI ratchets those scores and the PIT mutation score against baselines from the current tree.

Co-authored-by: turtleisaac <turtleisaac@users.noreply.github.com>
@turtleisaac
turtleisaac merged commit 82e5ec5 into main Nov 12, 2026
5 checks passed
@turtleisaac
turtleisaac deleted the quality-gates branch November 12, 2026 21:13
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