ci: cache vivisect workspaces between CI runs to speed up tests (#2881)

This commit is contained in:
kamran ul haq
2026-02-26 03:15:13 +05:00
committed by GitHub
parent e9b3311338
commit 10dfd287b4

View File

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