Skip to content

Commit

Permalink
Cache and save space for packages in tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbull authored Aug 13, 2023
1 parent c4c06cf commit b7f3a4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: 'pip'

- name: Install dependencies
run: |
Expand All @@ -48,6 +49,8 @@ jobs:
- if: matrix.os == 'ubuntu-latest'
name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 10240 # for pip packages in /tmp

- uses: actions/checkout@v2

Expand All @@ -66,6 +69,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install dependencies
run: |
Expand Down Expand Up @@ -114,6 +118,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install dependencies
run: |
Expand Down

0 comments on commit b7f3a4b

Please sign in to comment.