Skip to content

Commit

Permalink
Merge pull request #45 from andgoldschmidt/fix-doc-ci
Browse files Browse the repository at this point in the history
CI: In doc build, install poetry if no cache hit
  • Loading branch information
andgoldschmidt authored Jun 19, 2024
2 parents b5c9add + 5b50373 commit 810bb0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
with:
path: ~/.local # the path depends on the OS
key: poetry-${{ matrix.poetry-version }}
- name: Install poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: ${{ matrix.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: true
# ======
# Load cached venv if cache exists
# Install dependencies if cache does not exist
Expand Down

0 comments on commit 810bb0f

Please sign in to comment.