mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-10 00:34:30 +01:00
Run pytest with only unit tests in pre-commit hook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user