Files
gomag-vending/.githooks/pre-push
Claude Agent 2e81e3ca14 chore: make .githooks/pre-push executable
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 14:25:15 +00:00

10 lines
199 B
Bash
Executable File

#!/bin/bash
echo "🔍 Running pre-push tests..."
./test.sh ci
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
echo "❌ Tests failed. Push aborted."
exit 1
fi
echo "✅ Tests passed. Pushing..."