Agnostic #62
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
# agnostic (pyomo released) | |
name: agnostic tests | |
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.9 | |
auto-activate-base: false | |
- name: Install dependencies | |
run: | | |
conda install mpi4py pandas setuptools | |
pip install pyomo xpress | |
pip install numpy | |
python -m pip install amplpy --upgrade | |
python -m amplpy.modules install highs cbc gurobi | |
# license? | |
- name: setup the program | |
run: | | |
pip install -e . | |
- name: run tests | |
timeout-minutes: 100 | |
run: | | |
cd mpisppy/tests | |
python test_agnostic.py |