Skip to content

Commit 37093b0

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

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
@@ -41,7 +41,7 @@ jobs:
4141
python: '3.5.1'
4242
dist: trusty
4343
before_install:
44-
- python -m pip install -U pip
44+
- python -m pip install -U pip==19.3.1
4545

4646
- env: TOXENV=linting,docs,doctesting
4747
cache:

0 commit comments

Comments
 (0)