Install Python packages after setting up pip cache

This commit is contained in:
Sajith Sasidharan 2021-01-18 13:13:32 -05:00
parent 573ab8768b
commit f731159cd7

View File

@ -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