novaplan-decentralized-priv.../test.sh

14 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "Installing package in editable mode..."
pip install -e . >/dev/null 2>&1 || true
echo "Running unit tests..."
pytest -q
echo "Building package..."
python -m build
echo "All tests passed and package built."