Skip to content

Commit 8f86e4d

Browse files
committed
Simplify test-python CI workflow
1 parent 6bafed3 commit 8f86e4d

File tree

4 files changed

+36
-96
lines changed

4 files changed

+36
-96
lines changed

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

Lines changed: 0 additions & 32 deletions
This file was deleted.

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

Lines changed: 0 additions & 32 deletions
This file was deleted.

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

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/test-python.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Python
2+
on:
3+
push:
4+
branches:
5+
- latest
6+
- master
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
jobs:
10+
test:
11+
name: Python ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- os: macos-latest
18+
python: 3.11
19+
- os: ubuntu-latest
20+
python: 3.11
21+
- os: windows-2022
22+
python: 3.12
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-python@v5
26+
with:
27+
python-version: ${{ matrix.python }}
28+
- run: python3 -m pip install numpy setuptools wheel pytest
29+
- run: |
30+
python3 -m pip install .
31+
pytest -v
32+
- run: |
33+
python3 ./examples/call_highs_from_python_highspy.py
34+
python3 ./examples/call_highs_from_python_mps.py
35+
python3 ./examples/call_highs_from_python.py
36+
python3 ./examples/minimal.py

0 commit comments

Comments
 (0)