SPB Git

Repository Public

ci.sh 672 B 12 lines shellscript

1#!/bin/bash2# Intégration continue locale (spbgit n'exécute pas de pipelines) : à lancer avant chaque push.3# Lint, typage strict, tests unitaires + intégration + sécurité, audit des vulnérabilités des dépendances.4set -euo pipefail5cd "$(dirname "$0")/.."6uv sync --frozen --extra dev -q7echo "== ruff";      .venv/bin/ruff check src tests bench scripts8echo "== mypy";      .venv/bin/mypy9echo "== pytest";    .venv/bin/pytest -q10echo "== pip-audit"; uv export --frozen --no-dev --extra engine --no-emit-project -q -o /tmp/mllm-req.txt && .venv/bin/pip-audit -r /tmp/mllm-req.txt --disable-pip -q || { echo "vulnérabilités signalées"; exit 1; }11echo "CI OK"12
Files main
Menu

Theme