deltaforge-real-time-cross-.../test.sh

15 lines
279 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Running Python build and tests..."
python3 -m build --wheel >/dev/null 2>&1 || true
echo "Installing editable package for tests..."
pip install -e . >/dev/null 2>&1
echo "Running tests..."
pytest -q
echo "All tests passed."
exit 0