File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ jobs:
102102 python -m pip install --upgrade pip
103103 pip install setuptools build cython wheel
104104 pip install -r tests/requirements.txt
105- pip install -r doc/requirements.txt
105+ pip install nbformat nbclient ipykernel jupyter matplotlib
106106 - name : Build extension
107107 run : |
108108 python -m pip install -v .
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ def test_execute_notebook(nb_path):
5050 if sys .version_info < (3 , 12 ):
5151 pytest .skip ("Notebook execution tests require Python 3.12 or newer" )
5252
53+ # Skip OpenSpiel notebook on Windows
54+ # (OpenSpiel is not available on Windows without manual install)
55+ if sys .platform == "win32" and "openspiel" in nb_path .name .lower ():
56+ pytest .skip ("OpenSpiel notebook requires OpenSpiel, which is not available on Windows" )
57+
5358 nb = nbformat .read (str (nb_path ), as_version = 4 )
5459
5560 # Prefer the notebook's kernelspec if provided, otherwise let nbclient pick the default.
You can’t perform that action at this time.
0 commit comments