ci: run fast tests before the full suite

This commit is contained in:
Willi Ballenthin
2023-10-19 10:23:03 +00:00
parent fbeb33a91f
commit 2cc6a37713
2 changed files with 22 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ jobs:
run: sudo apt-get install -y libyaml-dev
- name: Install capa
run: pip install -e .[dev]
- 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.
run: pre-commit run pytest-fast --all-files
- name: Run tests
run: pytest -v tests/