initial commits to work on batched BO #40
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: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.13" | |
| - 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 init bash | |
| conda install -c conda-forge cyipopt pkg-config | |
| export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH | |
| - name: Verify cyipopt installation | |
| run: | | |
| source ~/.bashrc | |
| conda activate base | |
| python -c "import cyipopt; print('cyipopt OK')" | |
| - name: Install HiOpBBPy | |
| run: | | |
| source ~/.bashrc | |
| conda activate base | |
| export SKIP_CYIPOPT=1 | |
| python -m pip install --upgrade pip | |
| pip install . | |
| - name: Run Tests | |
| run: | | |
| source ~/.bashrc | |
| conda activate base | |
| python src/Drivers/hiopbbpy/BODriverCI.py 10 | |
| continue-on-error: false |