Skip to content

Commit 1e52de4

Browse files
fixing pipenv
1 parent 2a20d9b commit 1e52de4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/e2e-cache.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,15 @@ jobs:
5050
- name: Install pipenv
5151
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
5252
- name: Install dependencies
53+
shell: pwsh
5354
run: |
5455
mv ./__tests__/data/Pipfile.lock .
5556
mv ./__tests__/data/Pipfile .
56-
pipenv install --keep-outdated --python 3
57+
if (${{ matrix.python-version }} -Match "pypy") {
58+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
59+
} else {
60+
pipenv install --keep-outdated --python pypy
61+
}
5762
5863
python-poetry-dependencies-caching:
5964
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -115,7 +120,12 @@ jobs:
115120
- name: Install pipenv
116121
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
117122
- name: Install dependencies
123+
shell: pwsh
118124
run: |
119125
mv ./__tests__/data/Pipfile.lock .
120126
mv ./__tests__/data/Pipfile .
121-
pipenv install --keep-outdated --python 3
127+
if (${{ matrix.python-version }} -Match "pypy") {
128+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
129+
} else {
130+
pipenv install --keep-outdated --python pypy
131+
}

0 commit comments

Comments
 (0)