Skip to content

Commit

Permalink
ci: save pip cache for multi-python jobs (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
software-dov authored Nov 23, 2021
1 parent 5531795 commit 3d00ba4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install nox.
run: python -m pip install nox
- name: Build the documentation.
Expand All @@ -38,6 +39,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install nox.
run: python -m pip install nox
- name: Check type annotations.
Expand All @@ -57,6 +59,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install system dependencies.
run: |
sudo apt-get update
Expand Down Expand Up @@ -103,6 +106,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Copy mtls files
run: cp tests/cert/mtls.* /tmp/workspace/tests/cert/
- name: Install system dependencies.
Expand Down Expand Up @@ -161,6 +165,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install system dependencies.
run: |
sudo apt-get update
Expand Down Expand Up @@ -191,6 +196,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install system dependencies.
run: |
sudo apt-get update
Expand Down Expand Up @@ -224,6 +230,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install system dependencies.
run: |
sudo apt-get update
Expand Down Expand Up @@ -254,6 +261,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install system dependencies.
run: |
sudo apt-get update
Expand All @@ -277,6 +285,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install pandoc
run: |
sudo apt-get update
Expand All @@ -301,6 +310,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install pandoc
run: |
sudo apt-get update
Expand Down Expand Up @@ -354,6 +364,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'
- name: Install autopep8
run: |
python -m pip install autopep8
Expand Down

0 comments on commit 3d00ba4

Please sign in to comment.