Skip to content

Dependency cleanup #188

Dependency cleanup

Dependency cleanup #188

# tests with cylinders (pyomo released)
name: tests on some cylinders
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
defaults:
run:
shell: bash -l {0}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test_env
python-version: 3.8
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py "numpy<2" setuptools
pip install pyomo pandas xpress cplex scipy
- name: setup the program
run: |
pip install -e .
- name: run tests
timeout-minutes: 10
run: |
cd mpisppy/tests
mpiexec -np 2 python -m mpi4py test_with_cylinders.py