Skip to content

Commit

Permalink
Use setup-python's pip cache (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam authored Sep 17, 2022
1 parent 4586a48 commit 2b7c059
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
restore-keys: ${{ runner.os }}-pip
cache: pip
cache-dependency-path: setup.cfg
check-latest: true
- run: pip install -e '.[test]'
- run: coverage run -m pytest
- run: coverage report -m && coverage xml
Expand Down

0 comments on commit 2b7c059

Please sign in to comment.