Skip to content

Readme updates

Readme updates #1103

name: test_ef_ph (Pyomo released)
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 pandas setuptools
pip install pyomo sphinx sphinx_rtd_theme dill gridx-egret cplex pybind11
pip install xpress
- name: Build pyomo extensions
run: |
# we don't need it all; just APPSI's extensions
pyomo build-extensions || python -c "from pyomo.contrib.appsi.cmodel import cmodel_available; exit(0) if bool(cmodel_available) else exit(1)"
- name: setup the program
run: |
python setup.py develop
- name: Test EF/PH
run: |
python mpisppy/tests/test_ef_ph.py
- name: Test afew
run: |
cd examples
python afew.py xpress_persistent
- name: Test run_all nouc
run: |
cd examples
python run_all.py xpress_persistent "" nouc
- name: Test docs
run: |
cd ./doc/src/
make doctest