10 lines
199 B
Bash
10 lines
199 B
Bash
#!/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..."
|