From 6b5ffc5a7400e59ba267ec48a3bddf718110bfb6 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:09:56 +0530 Subject: [PATCH] Try fixing M-series runner tests This is being done by adding SuiteSparse and SUNDIALS installations which might have been missing on the runner, which broke `scikits.odes`. --- .github/workflows/run_periodic_tests.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run_periodic_tests.yml b/.github/workflows/run_periodic_tests.yml index d355524723..c418d6ef5a 100644 --- a/.github/workflows/run_periodic_tests.yml +++ b/.github/workflows/run_periodic_tests.yml @@ -110,7 +110,7 @@ jobs: if: matrix.os == 'ubuntu-latest' run: python -m nox -s scripts - #M-series Mac Mini + # M-series Mac Mini build-apple-mseries: if: github.repository_owner == 'pybamm-team' needs: style @@ -124,28 +124,29 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install python & create virtualenv + - name: Install Python & create virtualenv shell: bash run: | eval "$(pyenv init -)" pyenv install ${{ matrix.python-version }} -s pyenv virtualenv ${{ matrix.python-version }} pybamm-${{ matrix.python-version }} - - name: Install dependencies & run unit tests for Windows and MacOS + - name: Install build-time dependencies & run unit tests for M-series macOS runner shell: bash run: | eval "$(pyenv init -)" pyenv activate pybamm-${{ matrix.python-version }} - python -m pip install --upgrade pip wheel setuptools nox + python -m pip install --upgrade pip nox + python -m nox -s pybamm-requires python -m nox -s unit - - name: Run integration tests for Windows and MacOS + - name: Run integration tests for M-series macOS runner run: | eval "$(pyenv init -)" pyenv activate pybamm-${{ matrix.python-version }} python -m nox -s integration - - name: Uninstall pyenv-virtualenv & python + - name: Uninstall pyenv-virtualenv & Python if: always() shell: bash run: |