diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 32f3b5b..4186cb0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -300,8 +300,7 @@ jobs: env: OPENAI_API_KEY: "" run: | - mkdir -p tests/reports/agents - scripts/agents/run.sh . tests/reports/agents all + scripts/agents/run.sh - name: Upload agents reports uses: actions/upload-artifact@v3 with: @@ -325,8 +324,7 @@ jobs: chmod +x scripts/agents/*.sh || true - name: Run agents with AI run: | - mkdir -p tests/reports/agents - scripts/agents/run.sh . tests/reports/agents all + scripts/agents/run.sh - name: Upload agents reports uses: actions/upload-artifact@v3 with: diff --git a/docs/project/AGENTS_RUNTIME.md b/docs/project/AGENTS_RUNTIME.md index 015f204..1528ce5 100644 --- a/docs/project/AGENTS_RUNTIME.md +++ b/docs/project/AGENTS_RUNTIME.md @@ -16,10 +16,12 @@ Ce guide décrit comment utiliser et intégrer les agents de conformité (qualit ## 3. Commandes - Bash (recommandé): - - `scripts/agents/run.sh [target_dir] [output_dir] [agent]` - - Par défaut: `target_dir=.` `output_dir=tests/reports/agents` `agent=all` + - `scripts/agents/run.sh` + - Options (facultatives): `scripts/agents/run.sh [target_dir] [output_dir] [agent]` + - Par défaut: `target_dir=.` `output_dir=tests/reports/agents` `agent=all` - PowerShell (fallback Windows): - - `scripts/agents/run.ps1 -TargetDir . -OutputDir tests/reports/agents -Agent ` + - `scripts/agents/run.ps1` + - Options (facultatives): `-TargetDir . -OutputDir tests/reports/agents -Agent ` ## 4. Agents disponibles