idea160-exprove-open-source/test.sh

12 lines
205 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Running tests..."
pytest -q
echo "Building package (Python) to validate packaging metadata..."
python3 -m build
echo "All tests and build successful."
exit 0