#!/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