idea138-guardrailops-federa.../test.sh

10 lines
290 B
Bash

#!/bin/bash
set -euo pipefail
echo "Running tests and packaging verification..."
python3 -m pip install -e . >/dev/null 2>&1 || python3 -m pip install -e .
pytest -q
echo "Running Python build to verify packaging metadata..."
python3 -m build
echo "All tests and packaging checks passed."