diff --git a/autogpts/autogpt/.pre-commit-config.yaml b/autogpts/autogpt/.pre-commit-config.yaml index fe7881ac..fc6b4623 100644 --- a/autogpts/autogpt/.pre-commit-config.yaml +++ b/autogpts/autogpt/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: # types: [ python ] - id: pytest-check name: pytest-check - entry: pytest --cov=autogpt tests/unit + entry: bash -c 'cd autogpts/autogpt && pytest --cov=autogpt tests/unit' language: system pass_filenames: false always_run: true