Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions .github/workflows/gametheory-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,15 @@ jobs:
# tests ne déclarent pas de couverture).
# Cf log run #33876207607 : "ModuleNotFoundError: No module named
# 'matplotlib'" / "No module named 'scipy'" → 12 erreurs collect.
- name: Install minimal deps (numpy + scipy + matplotlib + pytest + ortools)
# nashpy : exigé par tests/test_bayesian_equilibria.py (grain #22382,
# equilibres bayesiens). Cf run 40261684555 : "ModuleNotFoundError:
# No module named 'nashpy'" → error de COLLECTE (exit 2).
# ortools : apporté par main pendant la vie de cette branche, conservé
# tel quel — cette PR n'a pas de raison de le retirer.
- name: Install minimal deps (numpy + scipy + matplotlib + pytest + nashpy + ortools)
run: |
python -m pip install --upgrade pip
pip install numpy scipy matplotlib pytest ortools
pip install numpy scipy matplotlib pytest nashpy ortools

- name: Run GameTheory tests
# working-directory = racine du dépôt : pytest.ini y est, donc le
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/scripts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,13 @@ jobs:
# opentelemetry ; avec, 36 passed + 1 skipped (le skip = coordinator
# reclasifie, comportement #21331).
pip install "opentelemetry-sdk>=1.20.0" "pydantic==2.12.5" "openai==2.24.0"
# nashpy: MyIA.AI.Notebooks/GameTheory/tests/test_bayesian_equilibria.py
# (#22382) imports it at module level. `gametheory-tests.yml` l'installe,
# mais CE job collecte aussi MyIA.AI.Notebooks/GameTheory/tests : sans
# le paquet, une seule erreur de collecte fait echouer les 21098 tests
# verts du run (mesure du 2026-10-27, run 40489527870 :
# "1 error in 750.75s" -> Scripts Tests rouge -> PR gate rouge).
pip install nashpy
# pytest-xdist: this job's 13 suites run in parallel (-n 4) below.
# Not a speed nicety -- the sequential run is what makes this job
# unschedulable on half the pool. Over 68 `Scripts Tests (CPU)` jobs,
Expand Down
Loading
Loading