mirror of
https://github.com/mandiant/capa.git
synced 2026-03-12 21:23:12 -07:00
ci: cache vivisect workspaces between CI runs to speed up tests (#2881)
This commit is contained in:
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user