Skip to content

Commit

Permalink
Remove redundant PyBaMM dependencies caching step
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Nov 9, 2023
1 parent 8782a7a commit dc1f6ed
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dc1f6ed

Please sign in to comment.