From a2b47c7439864d3a057b234c2287b5dcab5b6192 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 31 Jan 2026 08:06:11 +0100 Subject: [PATCH] CI: cache tox environments --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d211267e8..b3abdcd02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -179,6 +179,15 @@ jobs: ${{ runner.os }}-pip- ${{ runner.os }}- + - name: Cache tox environments + uses: actions/cache@v4 + with: + path: .tox + key: ${{ runner.os }}-tox-${{ matrix.toxenv }}-${{ hashFiles('requirements.d/development.txt', 'pyproject.toml') }} + restore-keys: | + ${{ runner.os }}-tox-${{ matrix.toxenv }}- + ${{ runner.os }}-tox- + - name: Install Linux packages if: ${{ runner.os == 'Linux' }} run: |