on master help sign in
[enh] CI: use actions/cache@v2 for Python dependencies
6402fb0Alexandre Flament
.github/workflows/integration.yml+7
@@ -22,7 +22,14 @@ jobs:
22 with:
22 with:
23 python-version: ${{ matrix.python-version }}
23 python-version: ${{ matrix.python-version }}
24 architecture: 'x64'
24 architecture: 'x64'
25+ - name: Cache Python dependencies
26+ id: cache-python
27+ uses: actions/cache@v2
28+ with:
29+ path: ./local
30+ key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }}
25 - name: Install Python dependencies
31 - name: Install Python dependencies
32+ if: steps.cache-python.outputs.cache-hit != 'true'
26 run: |
33 run: |
27 make V=1 install
34 make V=1 install
28 make V=1 gecko.driver
35 make V=1 gecko.driver