11 lines
286 B
Bash
11 lines
286 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
echo "Installing test dependencies..."
|
|
python3 -m pip install -q --upgrade pip
|
|
python3 -m pip install -q pydantic fastapi uvicorn pytest
|
|
echo "Running pytest..."
|
|
PYTHONPATH=src pytest -q
|
|
echo "Building package..."
|
|
python3 -m build
|
|
echo "All done."
|