Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Run pytest with only unit tests in pre-commit hook

Reinier van der Leer744275b932d5
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0aaad2578c..cb7180d4cf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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