From d9136481d83fbe9024ace5de0552b205ac4db5fd Mon Sep 17 00:00:00 2001 From: nitrix Date: Sun, 8 Mar 2026 12:05:09 +0100 Subject: [PATCH] Run mvnw verify instead of test in stop hook to include SpotBugs Co-Authored-By: Claude Opus 4.6 --- .claude/hooks/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/hooks/run-tests.sh b/.claude/hooks/run-tests.sh index e2f368e..eb3279c 100755 --- a/.claude/hooks/run-tests.sh +++ b/.claude/hooks/run-tests.sh @@ -26,7 +26,7 @@ PASSED="" # Run backend tests if Java sources changed if [[ -n "$HAS_BACKEND" ]]; then - if OUTPUT=$(cd backend && ./mvnw test -q 2>&1); then + if OUTPUT=$(cd backend && ./mvnw verify -q 2>&1); then PASSED+="✓ Backend tests passed. " else # Filter: only [ERROR] lines, skip Maven boilerplate