Skip to content

Commit bcc39d5

Browse files
committed
ci: use installed pip, upgrade to pinned if necessary
Ref: pytest-dev#6522
1 parent fa211fe commit bcc39d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
python-version: ${{ matrix.python }}
123123
- name: Install dependencies
124124
run: |
125-
python -m pip install --upgrade pip
125+
python -m pip --version
126126
pip install tox coverage
127127
128128
- name: Test without coverage
@@ -173,7 +173,7 @@ jobs:
173173
python-version: "3.7"
174174
- name: Install dependencies
175175
run: |
176-
python -m pip install --upgrade pip
176+
python -m pip --version
177177
pip install --upgrade wheel setuptools tox
178178
- name: Build package
179179
run: |

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
python: '3.5.1'
4444
dist: trusty
4545
before_install:
46-
- python -m pip install -U pip
46+
- python -m pip install -U pip==19.3.1
4747

4848
- env: TOXENV=linting,docs,doctesting
4949
cache:

0 commit comments

Comments
 (0)