Skip to content

Commit

Permalink
Add poetry caching to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Feb 6, 2024
1 parent 5622de6 commit 1474848
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
- name: Cache Poetry virtualenv
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Check Poetry config
run: poetry check
- name: Install dependencies
Expand Down

0 comments on commit 1474848

Please sign in to comment.