From 1f630d0411a2af59ebdc37e7081e5e4dbf120b04 Mon Sep 17 00:00:00 2001 From: Taner Topal Date: Wed, 28 Jun 2023 15:37:27 +0200 Subject: [PATCH] Add dependency caching step to tests in CI --- .github/workflows/flower.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/flower.yml b/.github/workflows/flower.yml index 2eb561c74fda..4a7ccf6be7f2 100644 --- a/.github/workflows/flower.yml +++ b/.github/workflows/flower.yml @@ -23,6 +23,13 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + - name: Cache Python dependencies + uses: actions/cache@v3 + with: + path: | + **/poetry.lock + ~/.cache/pypoetry + key: poetry-cache-${{ matrix.python }}-${{ hashFiles('**/pyproject.toml') }} - name: Install build tools run: | python -m pip install -U pip==23.1.2