From f731159cd7608925c5713cb4053067ef81c6bf8b Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Mon, 18 Jan 2021 13:13:32 -0500 Subject: [PATCH] Install Python packages after setting up pip cache --- .github/workflows/ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51cec9e54..c3f32c919 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,11 +41,6 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Python packages - run: | - pip install --upgrade codecov tox setuptools pip - pip list - - name: Get pip cache directory id: pip-cache run: | @@ -59,6 +54,11 @@ jobs: restore-keys: | ${{ runner.os }}-pip- + - name: Install Python packages + run: | + pip install --upgrade codecov tox setuptools pip + pip list + - name: Display tool versions run: python misc/build_helpers/show-tool-versions.py @@ -125,11 +125,6 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Python packages - run: | - pip install --upgrade tox pip - pip list - - name: Get pip cache directory id: pip-cache run: | @@ -143,6 +138,11 @@ jobs: restore-keys: | ${{ runner.os }}-pip- + - name: Install Python packages + run: | + pip install --upgrade tox pip + pip list + - name: Display tool versions run: python misc/build_helpers/show-tool-versions.py @@ -190,11 +190,6 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Python packages - run: | - pip install --upgrade tox pip - pip list - - name: Get pip cache directory id: pip-cache run: | @@ -208,6 +203,11 @@ jobs: restore-keys: | ${{ runner.os }}-pip- + - name: Install Python packages + run: | + pip install --upgrade tox pip + pip list + - name: Display tool versions run: python misc/build_helpers/show-tool-versions.py