allow --module-name= (#421) #297
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
# 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 | |