Skip to content

Commit

Permalink
Add GH actions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Jan 24, 2021
1 parent ca7a3da commit 12cf143
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}
- run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pytest-cov
Expand Down

0 comments on commit 12cf143

Please sign in to comment.