File tree Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 3636 - name : Prepare python environment
3737 run : |
3838 python -m pip install --upgrade pip
39- python -m pip install --group coverage || python -m pip install networkx cython pytest-cov numpy
39+ if python -m pip help install | grep -q -- '--group'; then
40+ python -m pip install --group coverage
41+ else
42+ python -m pip install networkx cython pytest-cov numpy
43+ fi
4044
4145 - name : Install PySCIPOpt
4246 run : |
Original file line number Diff line number Diff line change 3434 - name : Prepare python environment
3535 run : |
3636 python -m pip install --upgrade pip
37- python -m pip install --group test-full || python -m pip install networkx pytest-cov numpy
37+ if python -m pip help install | grep -q -- '--group'; then
38+ python -m pip install --group test-full
39+ else
40+ python -m pip install networkx pytest-cov numpy
41+ fi
3842
3943 - name : Install PySCIPOpt
4044 run : python -m pip install .
7074 shell : powershell
7175 run : |
7276 python -m pip install --upgrade pip
73- python -m pip install --group test-full || python -m pip install networkx pytest-cov numpy
77+ if python -m pip help install | grep -q -- '--group'; then
78+ python -m pip install --group test-full
79+ else
80+ python -m pip install networkx pytest-cov numpy
81+ fi
7482
7583 - name : Install PySCIPOpt
7684 shell : powershell
@@ -107,7 +115,11 @@ jobs:
107115 - name : Prepare python environment
108116 run : |
109117 python -m pip install --upgrade pip
110- python -m pip install --group test-full || python -m pip install networkx pytest-cov pytest numpy
118+ if python -m pip help install | grep -q -- '--group'; then
119+ python -m pip install --group test-full
120+ else
121+ python -m pip install networkx pytest-cov pytest numpy
122+ fi
111123
112124 - name : Install PySCIPOpt
113125 run : |
Original file line number Diff line number Diff line change 4949 - name : Prepare python environment
5050 run : |
5151 python -m pip install --upgrade pip
52- python -m pip install --group test-full || python -m pip install wheel cython networkx pytest-cov
52+ if python -m pip help install | grep -q -- '--group'; then
53+ python -m pip install --group test-full
54+ else
55+ python -m pip install wheel cython networkx pytest-cov
56+ fi
5357
5458 - name : Install PySCIPOpt
5559 run : python -m pip install .
8690 shell : powershell
8791 run : |
8892 python -m pip install --upgrade pip
89- python -m pip install --group test-full || python -m pip install wheel cython networkx pytest-cov
93+ if python -m pip help install | grep -q -- '--group'; then
94+ python -m pip install --group test-full
95+ else
96+ python -m pip install wheel cython networkx pytest-cov
97+ fi
9098 - name : Install PySCIPOpt
9199 shell : powershell
92100 run : |
You can’t perform that action at this time.
0 commit comments