Skip to content

Commit

Permalink
Try adding back poetry cacheing logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex3917 committed Oct 13, 2022
1 parent 64f2dfd commit 5460b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- run: poetry env use ${{ steps.setup_python.outputs.python-version }}

- name: Install dependencies if cache does not exist
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

# Instantiate the project
Expand Down
1 change: 1 addition & 0 deletions {{cookiecutter.repo_name}}/.github/workflows/django_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies if cache does not exist
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

- run: poetry run playwright install
Expand Down

0 comments on commit 5460b05

Please sign in to comment.