test: bump coverage gate from 80%% to 90%%
Update --cov-fail-under in lint workflow + docs (AGENTS, README, ARCHITECTURE). Note: A5 closeout reported 80.10%% so this run will likely fail until additional tests are added.
This commit is contained in:
@@ -65,7 +65,7 @@ per compatibilita' con Task Scheduler e caller esterni.
|
||||
| Venv produzione | `F:\CI\python\venv\` (interprete `F:\CI\python\venv\Scripts\python.exe`) |
|
||||
| Venv dev locale | `.venv\` (NON committare; gitignored) |
|
||||
| Install editable | `python -m pip install -e .[dev]` |
|
||||
| Test | `python -m pytest tests\python -q --cov=ci_orchestrator --cov-fail-under=80` |
|
||||
| Test | `python -m pytest tests\python -q --cov=ci_orchestrator --cov-fail-under=90` |
|
||||
| Lint | `python -m ruff check src tests\python` |
|
||||
| Type-check | `python -m mypy --strict src` |
|
||||
|
||||
@@ -106,7 +106,7 @@ Restano in PowerShell (girano sull'host fuori dal flusso CI o nel guest):
|
||||
`template/Prepare-*.ps1`, `template/Install-CIToolchain-*.ps1` e i
|
||||
`tests/Test-*.ps1` di smoke locale.
|
||||
|
||||
**Test gate**: coverage totale ≥80% (alzato in A5). Nuovi moduli devono
|
||||
**Test gate**: coverage totale ≥90% (alzato in A5, poi a 90%). Nuovi moduli devono
|
||||
includere unit test con mock; gli errori frequenti di questa stessa
|
||||
sezione sono coperti da `tests/python/test_agents_errors.py` come
|
||||
regression test — non rimuoverli senza aggiornare la voce in
|
||||
|
||||
Reference in New Issue
Block a user