fix CI #21
Workflow file for this run
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_hiopbbpy | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up Conda | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| auto-activate-base: true | |
| channels: conda-forge | |
| - name: Install IPOPT via conda | |
| run: | | |
| conda install -c conda-forge cyipopt | |
| export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH | |
| - name: Install HiOpBBPy | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install . | |
| - name: Run Tests | |
| run: | | |
| python src/Drivers/hiopbbpy/BODriverCI.py 10 |