Skip to content

fix CI

fix CI #17

Workflow file for this run

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 # Set up Python environment
with:
python-version: '3.12'
- name: Set up Conda environment
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
channels: conda-forge
- name: Install HiOpBBPy and its dependencies
run: |
conda install -c conda-forge ipopt cyipopt pkg-config
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
ls $CONDA_PREFIX/lib | grep ipopt
python -m pip install --upgrade pip
pip install .
- name: Run Tests
run: |
python src/Drivers/hiopbbpy/BODriverCI.py 10
continue-on-error: false