idea91-ml-cv-hedge/test.sh

12 lines
184 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Running tests..."
export PYTHONPATH=src
pytest -q
echo "Building package..."
python3 -m build
echo "All tests passed and package built."