@@ -33,15 +33,14 @@ jobs:
3333 run : pre-commit run --all-files
3434
3535
36-
3736 test :
3837
3938 runs-on : ${{ matrix.os }}
4039 strategy :
4140 fail-fast : false
4241 matrix :
4342 # temporarily downgraded to 3.7.9 and 3.8.10 due to a bug https://github.com/actions/setup-python/issues/402
44- python-version : ["3.7.9", "3.8.10", "3.9.13", "3.10.9", "pypy3.9-v7.3.9"]
43+ python-version : ["3.7.9", "3.8.10", "3.9.13", "3.10.9", "3.11.1", " pypy3.9-v7.3.9"]
4544 os : [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
4645 exclude :
4746 # temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
@@ -82,13 +81,14 @@ jobs:
8281 path : ${{ steps.pip-cache.outputs.dir }}
8382 key : ${{ runner.os }}-${{ matrix.python-version }}-pythonpip
8483
85- - name : Install additional requirements (CPython)
86- if : ${{ matrix.python-version != 'pypy3.9-v7.3.9' }}
87- run : python -m pip install "matplotlib==3.5.2" "gurobipy==9.5.1"
88-
89- - name : Install mip
84+ - name : Install mip for testing (PyPy)
85+ if : ${{ matrix.python-version == 'pypy3.9-v7.3.9' }}
9086 run : python -m pip install .[test,numpy]
9187
88+ - name : Install mip for testing (CPython)
89+ if : ${{ matrix.python-version != 'pypy3.9-v7.3.9' }}
90+ run : python -m pip install .[test,numpy,gurobi]
91+
9292 - name : list installed packages
9393 run : python -m pip list
9494
0 commit comments