From 1e52de40a4a5827eaf838418993a2c92338dd220 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 29 Jun 2022 20:16:07 +0200 Subject: [PATCH] fixing pipenv --- .github/workflows/e2e-cache.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index ba0f4e40..05400978 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -50,10 +50,15 @@ jobs: - name: Install pipenv run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - name: Install dependencies + shell: pwsh run: | mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile . - pipenv install --keep-outdated --python 3 + if (${{ matrix.python-version }} -Match "pypy") { + pipenv install --keep-outdated --python ${{ matrix.python-version }} + } else { + pipenv install --keep-outdated --python pypy + } python-poetry-dependencies-caching: name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) @@ -115,7 +120,12 @@ jobs: - name: Install pipenv run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - name: Install dependencies + shell: pwsh run: | mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile . - pipenv install --keep-outdated --python 3 \ No newline at end of file + if (${{ matrix.python-version }} -Match "pypy") { + pipenv install --keep-outdated --python ${{ matrix.python-version }} + } else { + pipenv install --keep-outdated --python pypy + } \ No newline at end of file