Cache python dependencies on CI

This commit is contained in:
Bruno Alla 2021-11-24 16:12:24 +00:00
parent 315ead02e4
commit 9255ffc14e

View File

@ -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"