Skip to content

Commit

Permalink
fix env key
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenrybrunch committed Mar 20, 2024
1 parent 73edefa commit 2a5585c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:

env:
VENV_PATH: ${{ github.workspace }}/env_${{ matrix.python-version }}
VENV_SCRIPTS: ${{ env.VENV_PATH }}/Scripts
PIP_EXE: ${{ env.VENV_SCRIPTS }}/pip.exe
POETRY_EXE: ${{ env.VENV_SCRIPTS }}/poetry.exe

steps:
- uses: actions/checkout@v4
Expand All @@ -33,11 +30,15 @@ jobs:
run: scoop reset ${{ matrix.python-version }}

- name: Setup Poetry in venv
env:
PIP_EXE: ${{ env.VENV_PATH }}/Scripts/pip.exe
run: |
python -m venv ${{ env.VENV_PATH }}
${{ env.PIP_EXE }} install --quiet poetry
- name: Installing dependencies with Poetry...
env:
POETRY_EXE: ${{ env.VENV_PATH }}/Scripts/poetry.exe
run: |
rm -r ${{ github.workspace }}/.venv
${{ env.POETRY_EXE }} config virtualenvs.in-project true
Expand Down

0 comments on commit 2a5585c

Please sign in to comment.