Skip to content

Commit 5db9be8

Browse files
committed
fix tests for highspy w/o hipo
1 parent 7f5d614 commit 5db9be8

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.github/workflows/build-python-package.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Test highspy
2727
run: |
2828
python3 -m pip install pytest
29-
python3 -m pytest $GITHUB_WORKSPACE
30-
29+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
30+
3131
build_sdist_mac:
3232
runs-on: macos-latest
3333
steps:
@@ -46,7 +46,7 @@ jobs:
4646
- name: Test highspy
4747
run: |
4848
python3 -m pip install pytest --break-system-packages
49-
python3 -m pytest $GITHUB_WORKSPACE
49+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
5050
5151
build_sdist_win:
5252
runs-on: windows-2022
@@ -72,8 +72,8 @@ jobs:
7272
- name: Test highspy
7373
run: |
7474
python -m pip install pytest
75-
python -m pytest
76-
75+
python -m pytest -k "not test_hipo"
76+
7777
build_wheel_linux:
7878
runs-on: ubuntu-24.04
7979
strategy:
@@ -101,7 +101,7 @@ jobs:
101101
- name: Test highspy
102102
run: |
103103
python3 -m pip install pytest
104-
python3 -m pytest $GITHUB_WORKSPACE
104+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
105105
106106
build_wheel_linux_arm:
107107
runs-on: ubuntu-24.04-arm
@@ -130,13 +130,13 @@ jobs:
130130
- name: Test highspy
131131
run: |
132132
python3 -m pip install pytest
133-
python3 -m pytest $GITHUB_WORKSPACE
133+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
134134
135135
build_wheel_macos_intel:
136136
runs-on: macos-15-intel
137137
strategy:
138138
matrix:
139-
python: [3.11]
139+
python: [3.11]
140140
steps:
141141
- uses: actions/checkout@v4
142142

@@ -160,13 +160,13 @@ jobs:
160160
- name: Test highspy
161161
run: |
162162
python3 -m pip install pytest
163-
python3 -m pytest $GITHUB_WORKSPACE
164-
163+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
164+
165165
build_wheel_macos_arm:
166166
runs-on: macos-14 # macos-14 is arm64
167167
strategy:
168168
matrix:
169-
python: [3.11]
169+
python: [3.11]
170170
steps:
171171
- uses: actions/checkout@v4
172172

@@ -190,7 +190,7 @@ jobs:
190190
- name: Test highspy
191191
run: |
192192
python3 -m pip install pytest
193-
python3 -m pytest $GITHUB_WORKSPACE
193+
python3 -m pytest $GITHUB_WORKSPACE -k "not test_hipo"
194194
195195
build_wheel_windows:
196196
runs-on: windows-2022
@@ -217,8 +217,8 @@ jobs:
217217
- name: Test highspy
218218
run: |
219219
python -m pip install pytest
220-
python -m pytest
221-
220+
python -m pytest -k "not test_hipo"
221+
222222
build_wheel_windows_313:
223223
runs-on: windows-2022
224224
steps:
@@ -244,5 +244,4 @@ jobs:
244244
- name: Test highspy
245245
run: |
246246
python -m pip install pytest
247-
python -m pytest
248-
247+
python -m pytest -k "not test_hipo"

0 commit comments

Comments
 (0)