Run pytest with only unit tests in pre-commit hook

This commit is contained in:
Reinier van der Leer
2023-07-05 00:30:00 +02:00
parent 7e45b6a975
commit 744275b932

View File

@@ -36,7 +36,7 @@ repos:
types: [ python ]
- id: pytest-check
name: pytest-check
entry: pytest --cov=autogpt --without-integration --without-slow-integration
entry: pytest --cov=autogpt tests/unit
language: system
pass_filenames: false
always_run: true