Skip to content

Commit 30aeda2

Browse files
committed
python tests no hipo
1 parent 040f1d3 commit 30aeda2

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
run: |
9292
python3 --version
9393
python3 -m pip install cibuildwheel
94-
CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
94+
export CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
9595
python3 -m cibuildwheel --only cp311-manylinux_x86_64 $GITHUB_WORKSPACE
9696
9797
- name: Install wheel
@@ -121,7 +121,7 @@ jobs:
121121
run: |
122122
python3 --version
123123
python3 -m pip install cibuildwheel
124-
CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
124+
export CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
125125
python3 -m cibuildwheel --only cp311-manylinux_aarch64 $GITHUB_WORKSPACE
126126
127127
- name: Install wheel
@@ -150,7 +150,7 @@ jobs:
150150
- name: Build wheel
151151
run: |
152152
python3 -m pip install cibuildwheel
153-
CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
153+
export CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
154154
python3 -m cibuildwheel --only cp311-macosx_x86_64 $GITHUB_WORKSPACE
155155
156156
- name: Install wheel
@@ -181,7 +181,7 @@ jobs:
181181
- name: Build wheel
182182
run: |
183183
python3 -m pip install cibuildwheel
184-
CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
184+
export CIBW_TEST_COMMAND="pytest -v -k 'not test_hipo'"
185185
python3 -m cibuildwheel --only cp311-macosx_arm64 $GITHUB_WORKSPACE
186186
187187
- name: Install wheel
@@ -209,7 +209,7 @@ jobs:
209209
- name: Build wheel
210210
run: |
211211
python -m pip install cibuildwheel
212-
$env:CIBW_TEST_COMMAND = 'pytest -v -k "not test_hipo"'
212+
$env:CIBW_TEST_COMMAND = 'pytest -v -k "not test_hipo" {project}/tests'
213213
python -m cibuildwheel --only cp39-win_amd64 $GITHUB_WORKSPACE
214214
215215
- name: Install wheel
@@ -237,7 +237,7 @@ jobs:
237237
- name: Build wheel
238238
run: |
239239
python -m pip install cibuildwheel
240-
$env:CIBW_TEST_COMMAND = 'pytest -v -k "not test_hipo"'
240+
$env:CIBW_TEST_COMMAND = 'pytest -v -k "not test_hipo" {project}/tests'
241241
python -m cibuildwheel --only cp313-win_amd64 $GITHUB_WORKSPACE
242242
243243
- name: Install wheel

HiGHS.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Highs", "nuget\Highs.csproj", "{906CCF22-9F98-849C-F4C4-760DF67E239A}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{906CCF22-9F98-849C-F4C4-760DF67E239A}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {94C9BDFD-6E07-4318-BACA-4021C6168EA3}
23+
EndGlobalSection
24+
EndGlobal

0 commit comments

Comments
 (0)