From 06105ec6215d12866626f78f503c2ea878946a30 Mon Sep 17 00:00:00 2001 From: Mathijs de Bruin Date: Wed, 28 Aug 2024 14:38:21 +0100 Subject: [PATCH] Fixup https://github.com/python-poetry/poetry/issues/2117 --- .github/workflows/e2e-tests.yaml | 2 +- .github/workflows/mypy.yaml | 2 +- .github/workflows/pytest.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 6a7767e7ba..4481cefd85 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -32,7 +32,7 @@ jobs: cache: poetry cache-dependency-path: backend/poetry.lock - name: Set Poetry environment - run: poetry -C ./backend env use 3.9 + run: poetry -C ./backend env use '${{ steps.python.outputs.python-path }}' - name: Install Python dependencies run: poetry -C ./backend install --with tests - name: Install JS dependencies diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 06d4367d95..6c6ab3ac62 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -19,7 +19,7 @@ jobs: cache: poetry cache-dependency-path: backend/poetry.lock - name: Set Poetry environment - run: poetry env use 3.9 + run: poetry env use '${{ steps.python.outputs.python-path }}' - name: Install dependencies run: poetry install --with tests --with mypy --with custom-data - name: Run Mypy diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index aeca019a04..81b3f41e6f 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -22,7 +22,7 @@ jobs: cache: poetry cache-dependency-path: backend/poetry.lock - name: Set Poetry environment - run: poetry env use ${{ matrix.python-version }} + run: poetry env use '${{ steps.python.outputs.python-path }}' - name: Install dependencies run: poetry install --with tests --with mypy --with custom-data - name: Run Pytest