Cache python dependencies on CI
@@ -20,6 +20,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.9"
+ cache: pip
- name: Install dependencies
run: |
python -m pip install -U pip
@@ -48,6 +49,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.9"
+ cache: pip
- name: Docker ${{ matrix.script.name }}
run: sh tests/test_docker.sh ${{ matrix.script.args }}
@@ -85,6 +87,8 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.9"
+ cache: pip
+ cache-dependency-path: '**/requirements*.txt'
- uses: actions/setup-node@v2
with:
node-version: "16"
