idea135-crisisops-open-crisis/test.sh

14 lines
310 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Run unit tests and packaging build to validate repo health
echo "Running Python tests..."
echo "Installing package in editable mode..."
python3 -m pip install -e .
pytest -q
echo "Building Python package..."
python3 -m build
echo "All tests and packaging succeeded."