Skip to content

Commit

Permalink
Caching dependencies in test action
Browse files Browse the repository at this point in the history
  • Loading branch information
rojosinalma committed Nov 2, 2023
1 parent ee4ef28 commit 7748ae8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
with:
python-version: 3.12

- name: Cache pip 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: pip install -r requirements.txt

Expand Down

0 comments on commit 7748ae8

Please sign in to comment.