From b40981adcc4fd0b9706b647b8f0c0594e265552f Mon Sep 17 00:00:00 2001 From: jsboige Date: Sat, 5 Sep 2026 00:12:13 +0200 Subject: [PATCH] ci(cabling,#14615): wire scripts/quantconnect/tests into scripts-tests.yml (family 3/6) The CI-EXCLUDED reason ("deps yfinance + external data files") no longer matches the directory: the suite is test_audit_projects.py alone, 35 stdlib-only tests, green in 0.11s on a bare runner. Re-verified firsthand (grep yfinance = 0 hits; pytest 35 passed). The issue's "Probable INTRINSIC / QC-Cloud is the way" call was provisional and does not hold against the current state - wiring is the honest verdict. 3 registres: run list entry (end of list, after DataScienceWithAgents), WORKFLOW_COVERAGE dict entry, CI-EXCLUDED marker replaced with a plain re-cabling comment. Coverage guard green, its pinned tests 5/5 passed. Co-Authored-By: Claude-Code --- .github/workflows/scripts-tests.yml | 7 ++++++- scripts/check_testpaths_coverage.py | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts-tests.yml b/.github/workflows/scripts-tests.yml index 6d67202998..7d62b27dca 100644 --- a/.github/workflows/scripts-tests.yml +++ b/.github/workflows/scripts-tests.yml @@ -214,12 +214,17 @@ jobs: MyIA.AI.Notebooks/SymbolicAI/Lean/agent_tests/tests/test_bg_tree_lock.py \ MyIA.AI.Notebooks/SymbolicAI/Lean/agent_tests/tests/test_prover_forensic_guards.py \ MyIA.AI.Notebooks/ML/DataScienceWithAgents/01-PythonForDataScience/tests \ + scripts/quantconnect/tests \ --tb=short -q # CI-EXCLUDED — testpaths pytest.ini non couverts par ce run, garde #10903. # Retirer la ligne du répertoire câblé (et l'ajouter au run ci-dessus) quand # l'herméticité est démontrée sur runner nu. Chaque raison est vérifiée # firsthand (2026-08-14, po-2024) : # CI-EXCLUDED: scripts/audit/tests — 4 échecs env-dépendants (test_regen_img1_dalle3.py, clé DALLE-3/OpenAI requise), 405 passent - # CI-EXCLUDED: scripts/quantconnect/tests — deps yfinance + fichiers de données externes, non hermétique sur runner nu # CI-EXCLUDED: scripts/secrets/tests — 4/6 fichiers non couverts par secret-scan.yml (render_envs/render_settings_json) ; scan gitleaks = 2 fichiers dédiés # CI-EXCLUDED: GradeBookApp — deps openpyxl/rapidfuzz/unidecode non installées dans ce job ; PII grading hors CI publique + # scripts/quantconnect/tests re-câblé (famille 3 de #14615, 2026-09-05) : + # la suite actuelle = test_audit_projects.py SEUL, 35 tests stdlib purs + # (argparse/json/collections/datetime/pathlib), verts en 0,11 s sur runner + # nu — le motif d'exclusion « deps yfinance + fichiers de données + # externes » ne correspondait plus à l'état du répertoire. diff --git a/scripts/check_testpaths_coverage.py b/scripts/check_testpaths_coverage.py index 016924ac24..a2c2439a0f 100644 --- a/scripts/check_testpaths_coverage.py +++ b/scripts/check_testpaths_coverage.py @@ -48,6 +48,9 @@ "MyIA.AI.Notebooks/SymbolicAI/Lean/agent_tests/tests/test_bg_tree_lock.py", "MyIA.AI.Notebooks/SymbolicAI/Lean/agent_tests/tests/test_prover_forensic_guards.py", "MyIA.AI.Notebooks/ML/DataScienceWithAgents/01-PythonForDataScience/tests", + # scripts/quantconnect/tests : dir entier (famille 3 de #14615) — + # suite hermétique stdlib (35 tests, test_audit_projects.py seul). + "scripts/quantconnect/tests", ], ".github/workflows/ml-tests.yml": [ "MyIA.AI.Notebooks/QuantConnect/ML-Training-Pipeline/scripts/tests",