Skip to content

Commit

Permalink
pybamm-team#3480 Install nox and CMake wherever needed
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 16, 2023
1 parent 44ce67e commit e80aaef
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install nox
run: python -m pip install nox
- name: Install nox and CMake
run: python -m pip install nox cmake

- name: Cache pybamm-requires nox environment for GNU/Linux and macOS
uses: actions/cache@v3
Expand Down Expand Up @@ -147,8 +147,8 @@ jobs:
python-version: 3.11
cache: 'pip'

- name: Install nox
run: python -m pip install nox
- name: Install nox and CMake
run: python -m pip install nox cmake

- name: Cache pybamm-requires nox environment for GNU/Linux
uses: actions/cache@v3
Expand Down Expand Up @@ -227,8 +227,8 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install nox
run: python -m pip install nox
- name: Install nox and CMake
run: python -m pip install nox cmake

- name: Cache pybamm-requires nox environment for GNU/Linux and macOS
uses: actions/cache@v3
Expand Down Expand Up @@ -267,15 +267,15 @@ jobs:
- name: Install Linux system dependencies
uses: awalsh128/cache-apt-pkgs-action@v1.3.1
with:
packages: gfortran gcc graphviz pandoc
packages: graphviz pandoc
execute_install_scripts: true

# dot -c is for registering graphviz fonts and plugins
- name: Install OpenBLAS and TeXLive for Linux
- name: Install TeXLive for Linux
run: |
sudo apt-get update
sudo dot -c
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng
sudo apt-get install texlive-latex-extra dvipng
- name: Set up Python 3.11
id: setup-python
Expand Down Expand Up @@ -326,8 +326,8 @@ jobs:
python-version: 3.11
cache: 'pip'

- name: Install nox
run: python -m pip install nox
- name: Install nox and CMake
run: python -m pip install nox cmake

- name: Cache pybamm-requires nox environment for GNU/Linux
uses: actions/cache@v3
Expand Down Expand Up @@ -380,8 +380,8 @@ jobs:
python-version: 3.11
cache: 'pip'

- name: Install nox
run: python -m pip install nox
- name: Install nox and CMake
run: python -m pip install nox cmake

- name: Cache pybamm-requires nox environment for GNU/Linux
uses: actions/cache@v3
Expand Down

0 comments on commit e80aaef

Please sign in to comment.