14 lines
336 B
Bash
14 lines
336 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "Installing package in editable mode..."
|
|
pip install -e . >/dev/null
|
|
|
|
echo "Running tests with pytest..."
|
|
pytest -q
|
|
|
|
echo "Building package to verify packaging metadata..."
|
|
python3 -m build >/dev/null 2>&1 || { echo "Build failed"; exit 1; }
|
|
|
|
echo "All tests passed and packaging succeeded."
|