From 627a0e77dab7fcdcc153788d80f2359408669549 Mon Sep 17 00:00:00 2001 From: jstilley Date: Tue, 30 Apr 2024 09:29:34 -0700 Subject: [PATCH] Trying to get OpenMPI installed --- .../{non_linux_tests.yaml => mac_tests.yaml} | 13 ++++----- .github/workflows/win_tests.yaml | 29 +++++++++++++++++++ 2 files changed, 35 insertions(+), 7 deletions(-) rename .github/workflows/{non_linux_tests.yaml => mac_tests.yaml} (75%) create mode 100644 .github/workflows/win_tests.yaml diff --git a/.github/workflows/non_linux_tests.yaml b/.github/workflows/mac_tests.yaml similarity index 75% rename from .github/workflows/non_linux_tests.yaml rename to .github/workflows/mac_tests.yaml index 38a3cee95..eb819c4f5 100644 --- a/.github/workflows/non_linux_tests.yaml +++ b/.github/workflows/mac_tests.yaml @@ -1,4 +1,4 @@ -name: ARMI Non-Linux Tests +name: ARMI MacOS Tests on: push: @@ -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 @@ -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 diff --git a/.github/workflows/win_tests.yaml b/.github/workflows/win_tests.yaml new file mode 100644 index 000000000..c8bb350ab --- /dev/null +++ b/.github/workflows/win_tests.yaml @@ -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