From 8dfd99346d826d39197420b117bb08a9d726e0f3 Mon Sep 17 00:00:00 2001 From: jstilley Date: Tue, 30 Apr 2024 09:11:45 -0700 Subject: [PATCH] Adding MacOS unit tests --- .../{wintests.yaml => non_linux_tests.yaml} | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) rename .github/workflows/{wintests.yaml => non_linux_tests.yaml} (75%) diff --git a/.github/workflows/wintests.yaml b/.github/workflows/non_linux_tests.yaml similarity index 75% rename from .github/workflows/wintests.yaml rename to .github/workflows/non_linux_tests.yaml index 1ad83cf67..38a3cee95 100644 --- a/.github/workflows/wintests.yaml +++ b/.github/workflows/non_linux_tests.yaml @@ -1,4 +1,4 @@ -name: ARMI Windows tests +name: ARMI Non-Linux Tests on: push: @@ -9,9 +9,11 @@ on: - 'doc/**' jobs: - build: - - runs-on: windows-2022 + example_matrix: + strategy: + matrix: + os: [windows-2022, macos-12] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -21,7 +23,7 @@ jobs: python-version: '3.11' - name: Upgrade PIP run: python -m pip install --upgrade pip - - name: Run Unit Tests on Windows + - name: Run Unit Tests run: | pip install -e .[memprof,mpi,test] pytest -n 4 armi