gameeconomy-forge-verifiabl.../test.sh

13 lines
334 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "Running tests..."
# Ensure the package is installed in editable mode so imports resolve reliably in CI.
python3 -m pip install -e .[dev] >/dev/null 2>&1 || python3 -m pip install -e .
pytest -q
echo "Building package..."
python3 -m build
echo "All tests passed and packaging succeeded."