Add LICENSE / COPYRIGHT markdown files #67
Workflow file for this run
This file contains 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_runall (Pyomo released) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test_env | |
python-version: 3.11 | |
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: | | |
pip install -e . | |
- name: Test run_all nouc | |
run: | | |
cd examples | |
python run_all.py xpress_persistent --oversubscribe nouc | |