idea10-catopt-studio-a/test.sh

11 lines
407 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Installing package in editable mode, then running tests and packaging build..."
python3 -m pip install -e . >/dev/null 2>&1 || true
python3 -m pip install --upgrade pip setuptools wheel >/dev/null 2>&1 || true
python3 -m pip install pytest >/dev/null 2>&1 || true
python3 -m build >/dev/null 2>&1 || true
pytest -q
echo "All tests passed (if no errors above)."