Skip to content

Commit

Permalink
Merge pull request pycontribs#132 from apatard/box-caching
Browse files Browse the repository at this point in the history
.github/workflows/tox.yml: add vagrant boxes caching
  • Loading branch information
konstruktoid authored Aug 23, 2022
2 parents 7e3817f + 56b019e commit 0a108a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Enable vagrant box caching
uses: actions/cache@v2
with:
path: |
~/.vagrant.d/boxes
key: ${{ runner.os }}-${{ matrix.tox_env }}-vagrantbox-${{ hashFiles('tests/tools/create_dummy_box.sh', 'tests/test_vagrant*py', '**/Vagrantfile', 'tests/vagrantfiles/*Vagrantfile') }}

- name: Pip cache
uses: actions/cache@v2
with:
Expand Down

0 comments on commit 0a108a7

Please sign in to comment.