Improve poetry install speed by first upgrading pip

This commit is contained in:
boukeversteegh 2020-07-11 22:15:21 +02:00 committed by Bouke Versteegh
parent 6c29771f4c
commit 2585a07fcf
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ jobs:
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
poetry run pip install --upgrade pip
poetry install
- name: Run tests
run: |

View File

@ -323,6 +323,7 @@ datetime.datetime(2019, 1, 1, 11, 59, 58, 800000, tzinfo=datetime.timezone.utc)
```sh
# Get set up with the virtual env & dependencies
poetry run pip install --upgrade pip
poetry install
# Activate the poetry environment