idea182-implementation/test.sh

11 lines
211 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
echo "Building package..."
python3 -m build
echo "Installing package into environment..."
pip3 install --upgrade .
echo "Running tests..."
pytest -q
echo 'All tests passed!'
exit 0