#!/usr/bin/env bash

echo "Running unit tests before push ..."

python -m unittest

STATUS=$?

if [ $STATUS -ne 0 ]; then
  echo "❌ Tests failed. Push aborted."
  exit 1
fi

echo "✅ Tests passed. Proceeding with push."
exit 0
