15 lines
346 B
Bash
15 lines
346 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Build and test GridForge packaging and tests
|
|
echo "==> Installing package in editable mode..."
|
|
python -m pip install -e .[dev] >/dev/null 2>&1 || true
|
|
|
|
echo "==> Running tests with pytest..."
|
|
pytest -q
|
|
|
|
echo "==> Building package..."
|
|
python -m build >/dev/null 2>&1
|
|
|
|
echo "OK: tests and build completed."
|