From 9255ffc14e956a7472f6e9d25ab6632e8b0f6f7a Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 24 Nov 2021 16:12:24 +0000 Subject: [PATCH] Cache python dependencies on CI --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff54e3d1..dc415bee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"