idea128-investlearn-studio-.../test.sh

12 lines
225 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "Running tests..."
# Ensure src/ is on PYTHONPATH so tests can import the package in-place
PYTHONPATH="src" pytest -q
echo "Building package..."
python3 -m build
echo "All done."