From dc1f6eddd4e8e838628ef496ce3d4d9a2a30ac79 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:56:10 +0530 Subject: [PATCH] Remove redundant PyBaMM dependencies caching step --- .github/workflows/test_on_push.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test_on_push.yml b/.github/workflows/test_on_push.yml index df114224b3..2def84a60c 100644 --- a/.github/workflows/test_on_push.yml +++ b/.github/workflows/test_on_push.yml @@ -92,10 +92,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | pip install --upgrade pip wheel setuptools - pip install -e .[all,docs] - name: Cache pybamm-requires nox environment for GNU/Linux uses: actions/cache@v3 @@ -152,10 +151,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | - pip install --upgrade pip wheel setuptools nox - pip install -e .[all,docs] + pip install --upgrade pip wheel setuptools - name: Cache pybamm-requires nox environment for GNU/Linux uses: actions/cache@v3 @@ -238,10 +236,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | pip install --upgrade pip wheel setuptools - pip install -e .[all,docs] - name: Cache pybamm-requires nox environment for GNU/Linux uses: actions/cache@v3 @@ -299,10 +296,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | pip install --upgrade pip wheel setuptools - pip install -e .[all,docs] - name: Install docs dependencies and run doctests for GNU/Linux with Python 3.11 run: pipx run nox -s doctests @@ -344,10 +340,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | pip install --upgrade pip wheel setuptools - pip install -e .[all,docs] - name: Cache pybamm-requires nox environment for GNU/Linux uses: actions/cache@v3 @@ -402,10 +397,9 @@ jobs: cache: 'pip' cache-dependency-path: setup.py - - name: Install PyBaMM dependencies + - name: Install Python dependencies run: | pip install --upgrade pip wheel setuptools - pip install -e .[all,docs] - name: Cache pybamm-requires nox environment for GNU/Linux uses: actions/cache@v3