Skip to content

Commit dc0208f

Browse files
Merge pull request #47 from r1chardj0n3s/fix-install-deps
Ignore already installed versions of dependencies in GitHub actions
2 parents c540263 + a8b7dfa commit dc0208f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ jobs:
3434

3535
- name: "Install dependencies"
3636
run: |
37-
pip install --upgrade --editable .[dev]
38-
pip install --upgrade 'pip ${{ matrix.pip-version }}'
39-
pip install flake8
37+
python -m pip install --upgrade 'pip ${{ matrix.pip-version }}'
38+
# We use '--ignore-installed' to avoid GitHub's cache which can cause
39+
# issues - we have seen packages from this cache be cause trouble with
40+
# pip-extra-reqs.
41+
python -m pip install --ignore-installed --upgrade --editable .[dev]
42+
python -m pip install flake8
4043
4144
- name: "Lint"
4245
run: |

0 commit comments

Comments
 (0)