Skip to content

Commit c38d8e8

Browse files
fix builds
1 parent b51496c commit c38d8e8

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/e2e-cache.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,13 @@ jobs:
5050
python-version: ${{ matrix.python-version }}
5151
cache: 'pipenv'
5252
- name: Install dependencies
53-
run: pipenv install flake8 --python ${{ matrix.python-version }}
54-
53+
shell: pwsh
54+
run: |
55+
if (${{ matrix.python-version }} -Match "pypy") {
56+
pipenv install flake8 --python pypy
57+
} else {
58+
pipenv install flake8 --python ${{ matrix.python-version }}
59+
}
5560
python-pip-dependencies-caching-path:
5661
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
5762
runs-on: ${{ matrix.os }}
@@ -90,4 +95,10 @@ jobs:
9095
cache: 'pipenv'
9196
cache-dependency-path: '**/requirements-linux.txt'
9297
- name: Install dependencies
93-
run: pipenv install flake8 --python ${{ matrix.python-version }}
98+
shell: pwsh
99+
run: |
100+
if (${{ matrix.python-version }} -Match "pypy") {
101+
pipenv install flake8 --python pypy
102+
} else {
103+
pipenv install flake8 --python ${{ matrix.python-version }}
104+
}

0 commit comments

Comments
 (0)