Add LICENSE / COPYRIGHT markdown files #2
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: header test | |
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 addheader pyyaml pytest | |
- name: setup the program | |
run: | | |
pip install -e . | |
- name: run headers test | |
timeout-minutes: 10 | |
run: | | |
cd mpisppy/tests | |
python test_headers.py |