From 2585a07fcf2e9e997b9fe505c9cded75b3921362 Mon Sep 17 00:00:00 2001 From: boukeversteegh Date: Sat, 11 Jul 2020 22:15:21 +0200 Subject: [PATCH] Improve poetry install speed by first upgrading pip --- .github/workflows/ci.yml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f91010..e69458a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: ${{ runner.os }}-poetry- - name: Install dependencies run: | + poetry run pip install --upgrade pip poetry install - name: Run tests run: | diff --git a/README.md b/README.md index 952fa81..9fa2deb 100644 --- a/README.md +++ b/README.md @@ -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