mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-15 19:24:23 +01:00
fix: Fix pre-commit config for pytest
- Modify the entry command to change directories before running pytest
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user