#!/usr/bin/env bash
set -euo pipefail

# Opt-out: SKIP_GITHOOKS=1 git push
if [[ "${SKIP_GITHOOKS:-}" == "1" ]]; then
  exit 0
fi

echo "[pre-push] running test suite"
scripts/test.sh

