From 10dfd287b4019dab66b595b00cbff91f27ae5ad0 Mon Sep 17 00:00:00 2001 From: kamran ul haq Date: Thu, 26 Feb 2026 03:15:13 +0500 Subject: [PATCH] ci: cache vivisect workspaces between CI runs to speed up tests (#2881) --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77d2879d..2b157abe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -113,6 +113,11 @@ jobs: run: | pip install -r requirements.txt pip install -e .[dev,scripts] + - name: Cache vivisect workspaces + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + with: + path: tests/data/**/*.viv + key: viv-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }} - name: Run tests (fast) # this set of tests runs about 80% of the cases in 20% of the time, # and should catch most errors quickly.