Initialize portable humanoid RL framework with licenses, locks and CI
Core and layout checks / core (push) Has been cancelled
Core and layout checks / core (push) Has been cancelled
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PY="${UH_PYTHON:-$ROOT/.venv/bin/python}"
|
||||
if [[ ! -x "$PY" ]]; then
|
||||
echo 'No test environment. Run uv sync --locked --extra dev; see docs/SETUP.md.' >&2
|
||||
exit 1
|
||||
fi
|
||||
unset PYTHONPATH
|
||||
export PYTHONNOUSERSITE=1
|
||||
export PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
cd "$ROOT"
|
||||
"$PY" -m ruff check src tests tools .agents/skills/*/scripts
|
||||
"$PY" -m ruff format --check src tests tools .agents/skills/*/scripts
|
||||
"$PY" -m pytest -q "$@"
|
||||
Reference in New Issue
Block a user