feat(phase-0): initialize project foundation, packaging, logging, configs, and tests
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Warehouse Robot Fleet Digital Twin - Run Tests Script
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
cd "$PROJECT_ROOT"
|
||||
|
||||
if [ -f "${PROJECT_ROOT}/.venv/bin/pytest" ]; then
|
||||
PYTEST_BIN="${PROJECT_ROOT}/.venv/bin/pytest"
|
||||
else
|
||||
PYTEST_BIN="pytest"
|
||||
fi
|
||||
|
||||
echo "Running test suite with: $PYTEST_BIN"
|
||||
"$PYTEST_BIN" "$@"
|
||||
Reference in New Issue
Block a user