From adfe3042817a297fcb3160c1e3a446ece0149008 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 11 Aug 2020 16:12:05 -0700 Subject: [PATCH] Upgrade pip in GitHub Actions runs --- .github/workflows/deploy-latest.yml | 1 + .github/workflows/test-coverage.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy-latest.yml b/.github/workflows/deploy-latest.yml index 8f9a5af3..6c4b4334 100644 --- a/.github/workflows/deploy-latest.yml +++ b/.github/workflows/deploy-latest.yml @@ -24,6 +24,7 @@ jobs: ${{ runner.os }}-pip- - name: Install Python dependencies run: | + python -m pip install --upgrade pip python -m pip install -e .[test] - name: Run tests run: pytest diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 848aa3af..0b964c75 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -26,6 +26,7 @@ jobs: ${{ runner.os }}-pip- - name: Install Python dependencies run: | + python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov - name: Run tests