Skip to content

Commit 224d96d

Browse files
Fix pipelines (#1088)
* attempt to fix pipelines * attempt nr2
1 parent b6ed5d8 commit 224d96d

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ jobs:
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: |

.github/workflows/integration-test.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ jobs:
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 .
@@ -70,7 +74,11 @@ jobs:
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: |

.github/workflows/update-packages-and-documentation.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ jobs:
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 .
@@ -86,7 +90,11 @@ jobs:
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: |

0 commit comments

Comments
 (0)