mltrail-verifiable-provenan.../test.sh

13 lines
301 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Running Python tests with pytest..."
# Ensure the repository root is on PYTHONPATH so tests can import the package
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)"
pytest -q
echo "Building Python package..."
python3 -m build
echo "ALL TESTS PASSED"