Skip to content

Commit

Permalink
Trying to get OpenMPI installed
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Apr 30, 2024
1 parent 8dfd993 commit 627a0e7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ARMI Non-Linux Tests
name: ARMI MacOS Tests

on:
push:
Expand All @@ -9,11 +9,9 @@ on:
- 'doc/**'

jobs:
example_matrix:
strategy:
matrix:
os: [windows-2022, macos-12]
runs-on: ${{ matrix.os }}
build:

runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand All @@ -23,8 +21,9 @@ jobs:
python-version: '3.11'
- name: Upgrade PIP
run: python -m pip install --upgrade pip
- name: Run Unit Tests
- name: Run Unit Tests on MacOS
run: |
brew install openmpi
pip install -e .[memprof,mpi,test]
pytest -n 4 armi
- name: Find Test Crumbs
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/win_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ARMI Windows Tests

on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'

jobs:
build:

runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Upgrade PIP
run: python -m pip install --upgrade pip
- name: Run Unit Tests on Windows
run: |
pip install -e .[memprof,mpi,test]
pytest -n 4 armi
- name: Find Test Crumbs
run: python .github/workflows/find_test_crumbs.py

0 comments on commit 627a0e7

Please sign in to comment.