diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index fc4a08dae..f010a1a8c 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -48,7 +48,11 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'pipenv' - name: Install pipenv - run: pipx install pipenv + shell: pwsh + run: | + pipx install pipenv + $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" + pipenv --python $pythonVersion - name: Install dependencies run: pipenv install numpy @@ -110,6 +114,9 @@ jobs: cache: 'pipenv' cache-dependency-path: '**/requirements-linux.txt' - name: Install pipenv - run: pipx install pipenv + run: | + pipx install pipenv + $pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}" + pipenv --python $pythonVersion - name: Install dependencies run: pipenv install numpy \ No newline at end of file