Merge pull request #2649 from ERGO-Code/hipo-fix #3983
This file contains hidden or 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-ubuntu | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python: [3.11] | |
| 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: python3 -m pip install numpy setuptools wheel pytest | |
| - name: Test Python Interface | |
| run: | | |
| python3 -m pip install . | |
| pytest -v | |
| - name: Test Python Examples | |
| run: | | |
| python3 ./examples/call_highs_from_python_highspy.py | |
| python3 ./examples/call_highs_from_python_mps.py | |
| python3 ./examples/call_highs_from_python.py | |
| python3 ./examples/minimal.py |