Skip to content

Commit 342c9a1

Browse files
committed
clean up package without hipo tests
1 parent 313db47 commit 342c9a1

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

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

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Build sdist
1717
run: |
18-
python3 -m pip install build
18+
python3 -m pip install build
1919
python3 -m build --sdist
2020

2121
- name: Install sdist
@@ -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
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
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
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
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
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
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
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
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

.github/workflows/build-python-sdist-hipo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373

7474
- name: Test highspy
7575
run: |
76-
python3 -m pip install pytest
76+
python3 -m pip install pytest --user
7777
python3 -m pytest $GITHUB_WORKSPACE
7878
python3 -m pytest $GITHUB_WORKSPACE/check/test_highspy_hipo.py
7979

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
python3 -m venv path/to/venv
5454
source path/to/venv/bin/activate
55-
python3 -m pip install dist/*.tar.gz
55+
python3 -m pip install dist/*.tar.gz
5656

5757
- name: Test Python Examples
5858
run: |

.github/workflows/test-python-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Test Python Interface
6060
run: |
61-
python3 -m pip install .
61+
python3 -m pip install . \
6262
--config-settings=cmake.define.HIPO=ON
6363
pytest
6464
pytest check/test_highspy_hipo.py

0 commit comments

Comments
 (0)