idea85-blockenergy-mesh-ver.../test.sh

15 lines
255 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Installing package in editable mode..."
pip install -e .
echo "Running pytest..."
pytest -q
echo "Building package (python3 -m build)..."
python3 -m build
echo "All tests and build completed successfully."