19 lines
449 B
Bash
19 lines
449 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
echo "[BeVault] Running tests and packaging sanity checks..."
|
|
|
|
# Ensure pip tooling is up to date
|
|
python3 -m pip install --upgrade pip setuptools wheel
|
|
|
|
# Install the package in editable mode for testing imports
|
|
python3 -m pip install -e .
|
|
|
|
# Run tests
|
|
pytest -q
|
|
|
|
# Build the package to verify packaging metadata and directory structure
|
|
python3 -m build
|
|
|
|
echo "[BeVault] All tests passed and build succeeded."
|