From 744275b932d55b61476bee0641ae65f320d5224f Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Wed, 5 Jul 2023 00:30:00 +0200 Subject: [PATCH] Run pytest with only unit tests in pre-commit hook --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0aaad257..cb7180d4 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