Skip to content

Commit 6247cc2

Browse files
committed
Run CI with the lowest and highest pip versions supported
1 parent 4fb67c5 commit 6247cc2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: [3.6, 3.7, 3.8]
19+
# These versions match the minimum and maximum versions of pip in
20+
# requirements.txt
21+
extra-pip-version-to-install: ['==10.0.1', '<= 19']
1922

2023
steps:
2124
- uses: actions/checkout@v2
@@ -26,7 +29,8 @@ jobs:
2629

2730
- name: "Install dependencies"
2831
run: |
29-
python -m pip install --upgrade --editable .[dev]
32+
pip install --upgrade --editable .[dev]
33+
pip install --upgrade pip ${{extra-pip-version-to-install}}
3034
pip install flake8
3135
3236
- name: "Lint"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
packaging
2+
# These versions are matched in the GitHub workflows CI.
23
pip >= 10.0.1, <= 19

0 commit comments

Comments
 (0)