name: test-python-win
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2022]
python: ["3.10", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Install correct python version
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install pytest
run: python -m pip install pytest
- name: Test python install
run: |
python -m pip install .
pytest
- name: Test Python Examples
run: |
python ./examples/call_highs_from_python_highspy.py
python ./examples/call_highs_from_python_mps.py
python ./examples/minimal.py