15 lines
427 B
Bash
15 lines
427 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "==> Installing package and dependencies (editable install) before tests"
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
pip install -e .
|
|
|
|
echo "==> Running Python package tests (pytest) and build verification"
|
|
pytest -q
|
|
|
|
echo "==> Building Python package (python -m build) to verify packaging module"
|
|
python3 -m build
|
|
|
|
echo "All tests and build steps completed successfully."
|