Merge pull request #1795 from ERGO-Code/version-bump #730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-python-win | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# os: [self-hosted] | |
os: [windows-latest] | |
python: [3.12] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install correct python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install build dependencies | |
run: python -m pip install numpy setuptools wheel 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 |