|
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}/workspace/repo"
|
|
echo "Running unit tests..."
|
|
pytest -q
|
|
echo "Running Python build (PEP 517/520) to verify packaging..."
|
|
python3 -m build --wheel --no-isolation
|
|
echo "Tests and build completed."
|