idea195-genomeloom-verifiab.../test.sh

10 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
echo "Running pytest..."
# ensure local src path is importable for tests
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)/src"
pytest -q
echo "Building package..."
python3 -m build
echo "All tests and build succeeded."