Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/archcode-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
PYTHONUNBUFFERED: 1

steps:
- name: Checkout repository
Expand All @@ -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
Expand All @@ -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
Expand Down