Skip to content

Commit 78a2330

Browse files
Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version
Fx pipenv python version
2 parents 5407bf6 + d7db825 commit 78a2330

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/e2e-cache.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest, windows-latest, macos-latest]
42-
python-version: ['3.9', 'pypy-3.7-v7.x']
42+
python-version: ['3.9', 'pypy-3.9-v7.x']
4343
steps:
4444
- uses: actions/checkout@v3
4545
- name: Setup Python
@@ -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
57+
if ("${{ matrix.python-version }}" -Match "pypy") {
58+
pipenv install --keep-outdated --python pypy
59+
} else {
60+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
61+
}
5762
5863
python-poetry-dependencies-caching:
5964
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -103,7 +108,7 @@ jobs:
103108
fail-fast: false
104109
matrix:
105110
os: [ubuntu-latest, windows-latest, macos-latest]
106-
python-version: ['3.9', 'pypy-3.7-v7.x']
111+
python-version: ['3.9', 'pypy-3.9-v7.x']
107112
steps:
108113
- uses: actions/checkout@v3
109114
- name: Setup Python
@@ -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
127+
if ("${{ matrix.python-version }}" -Match "pypy") {
128+
pipenv install --keep-outdated --python pypy
129+
} else {
130+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
131+
}

0 commit comments

Comments
 (0)