Skip to content

Commit

Permalink
test if .venv folder exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenrybrunch committed Mar 20, 2024
1 parent 2a5585c commit 9d41c10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
- name: Installing dependencies with Poetry...
env:
POETRY_EXE: ${{ env.VENV_PATH }}/Scripts/poetry.exe
POETRY_VENV: ${{ github.workspace }}/.venv
shell: pwsh
run: |
rm -r ${{ github.workspace }}/.venv
if (test-path ${{ env.POETRY_VENV }}) { rm -r ${{ env.POETRY_VENV }} }
${{ env.POETRY_EXE }} config virtualenvs.in-project true
${{ env.POETRY_EXE }} install --no-interaction --with test
Expand Down

0 comments on commit 9d41c10

Please sign in to comment.