@@ -10,10 +10,10 @@ jobs:
1010
1111 steps :
1212
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v3
1414
1515 - name : Set up Python
16- uses : actions/setup-python@v5
16+ uses : actions/setup-python@v4
1717 with :
1818 python-version : 3.11
1919
@@ -50,10 +50,10 @@ jobs:
5050
5151 steps :
5252
53- - uses : actions/checkout@v4
53+ - uses : actions/checkout@v3
5454
5555 - name : Set up Python ${{ matrix.python-version }}
56- uses : actions/setup-python@v5
56+ uses : actions/setup-python@v4
5757 with :
5858 python-version : ${{ matrix.python-version }}
5959 architecture : x64
@@ -65,23 +65,19 @@ jobs:
6565 - name : Upgrade pip
6666 run : python -m pip install --upgrade pip
6767
68- - name : Install mip for testing (PyPy)
69- if : ${{ matrix.python-version == 'pypy3.9-v7.3.15' }}
68+ - name : Install test and numpy
7069 run : python -m pip install .[test,numpy]
7170
72- - name : Install mip for testing (CPython)
71+ - name : Install gurobi
7372 if : ${{ matrix.python-version != 'pypy3.9-v7.3.15' }}
74- run : python -m pip install .[test,numpy,gurobi]
73+ run : python -m pip install .[gurobi]
74+
75+ - name : Install highs
76+ if : ${{ !contains(matrix.os, 'windows') && !(matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9') }}
77+ run : python -m pip install .[highs]
7578
7679 - name : list installed packages
7780 run : python -m pip list
7881
79- - name : Run tests PyPy
80- if : ${{ matrix.python-version == 'pypy3.9-v7.3.15'}}
81- run : |
82- python -m pytest test --verbose --color=yes --doctest-modules --ignore="test/test_gurobi.py"
83-
8482 - name : Run tests
85- if : ${{ matrix.python-version != 'pypy3.9-v7.3.15'}}
86- run : |
87- python -m pytest test --verbose --color=yes --doctest-modules -Werror
83+ run : python -m pytest test --verbose --color=yes --doctest-modules -Werror
0 commit comments