Skip to content

Commit

Permalink
add poetry shell
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpawley committed May 19, 2024
1 parent b44a96f commit 059c732
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/publish-quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,12 @@ jobs:
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install the project
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
source .venv/bin/activate
poetry install --no-interaction --no-root --with dev,test
poetry shell
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand Down

0 comments on commit 059c732

Please sign in to comment.