Skip to content

Commit 2c5aeb5

Browse files
fix pipenv checks
1 parent 9c644ca commit 2c5aeb5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/e2e-cache.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
python-version: ${{ matrix.python-version }}
4949
cache: 'pipenv'
5050
- name: Install pipenv
51-
run: pipx install pipenv
51+
shell: pwsh
52+
run: |
53+
pipx install pipenv
54+
$pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}"
55+
pipenv --python $pythonVersion
5256
- name: Install dependencies
5357
run: pipenv install numpy
5458

@@ -110,6 +114,9 @@ jobs:
110114
cache: 'pipenv'
111115
cache-dependency-path: '**/requirements-linux.txt'
112116
- name: Install pipenv
113-
run: pipx install pipenv
117+
run: |
118+
pipx install pipenv
119+
$pythonVersion = ("${{ matrix.python-version }}" -Match "pypy") ? "pypy" : "${{ matrix.python-version }}"
120+
pipenv --python $pythonVersion
114121
- name: Install dependencies
115122
run: pipenv install numpy

0 commit comments

Comments
 (0)