From 7b7b2e417823d8e2f4b140b817f3a7e2d43bb361 Mon Sep 17 00:00:00 2001 From: pierre22400 <154444977+pierre22400@users.noreply.github.com> Date: Fri, 15 Aug 2025 10:40:56 +0200 Subject: [PATCH] Update archcode-sandbox.yml --- .github/workflows/archcode-sandbox.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/archcode-sandbox.yml b/.github/workflows/archcode-sandbox.yml index 37a266f..8bc61ce 100644 --- a/.github/workflows/archcode-sandbox.yml +++ b/.github/workflows/archcode-sandbox.yml @@ -18,6 +18,8 @@ jobs: ci: runs-on: ubuntu-latest timeout-minutes: 60 + env: + PYTHONUNBUFFERED: 1 steps: - name: Checkout repository @@ -39,21 +41,21 @@ jobs: restore-keys: | ${{ runner.os }}-pip- - - name: Install dependencies + - name: Install dependencies (pip + pyyaml) # on force l'échec si l'install ne passe pas run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip setuptools wheel if [ -f requirements.txt ]; then pip install -r requirements.txt - else - # installer au minimum PyYAML + outils utiles - pip install pyyaml ruff pytest fi + # installer au minimum PyYAML + outils utiles (garantie) + pip install pyyaml ruff pytest || true - name: Show python & pip info run: | python --version pip --version + python -c "import yaml; print('PyYAML OK', yaml.__version__)" pip list --format=columns - name: Check GH_PAT secret exists @@ -74,24 +76,21 @@ jobs: - name: Aggregate modules → plan_draft_aggregated.yaml (PGA) run: | + # NOTE: --only-ok removed (option non reconnue). Par défaut l'agent n'agrège que les modules validés. python -m agents.agent_module_compilator collect \ - --reset-if-missing --only-ok --update-ec - # cette étape est critique : si elle échoue, la job échoue + --reset-if-missing --update-ec - name: Validate plan → plan_validated.yaml (PV) run: | python -m agents.agent_plan_validator validate --update-ec - # critique également - name: Build execution_plan.yaml run: | python -m scripts.execution_plan_transformer build - # critique également - name: Lint (ruff) — optionnel continue-on-error: true run: | - # ruff peut ne pas exister si non installé, no-op si absent if command -v ruff >/dev/null 2>&1; then ruff check . else