energiamesh-federated-contr.../test.sh

9 lines
219 B
Bash

#!/usr/bin/env bash
set -e
export PYTHONPATH="src:${PYTHONPATH:-}"
echo "Running tests (pytest) ..."
pytest -q
echo "Building package (python -m build) ..."
python3 -m build
echo "All tests passed and build completed."