13 lines
304 B
Bash
13 lines
304 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Run unit tests and packaging build to ensure MVP integrity
|
|
echo "Installing package in editable mode..."
|
|
pip install -e .
|
|
export PYTHONPATH=$(pwd)
|
|
echo "Running tests..."
|
|
pytest -q
|
|
echo "Building package..."
|
|
python3 -m build
|
|
echo "OK: tests and build completed."
|