adding caching of dependencies

This commit is contained in:
Francois Lanusse 2024-12-21 15:57:40 -05:00
parent d81a2529e7
commit e316d8a0b2
2 changed files with 58 additions and 0 deletions

View file

@ -25,6 +25,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo apt-get install -y libopenmpi-dev