#!/usr/bin/env bash export PYTHONPATH=.:$PYTHONPATH export PYTHONPATH=.:./src:$PYTHONPATH set -euo pipefail echo "==> Running build (packaging) ..." python3 -m build echo "==> Installing test dependencies ..." if [ -f requirements-dev.txt ]; then python3 -m pip install --upgrade pip python3 -m pip install -r requirements-dev.txt fi echo "==> Running tests ..." pytest -q echo "All tests passed."