diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b4f708cdeb..1a221f8a04a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -216,6 +216,15 @@ repos: stages: [pre-push] priority: 10 + - id: vitest-root + name: Vitest (unit tests) + entry: npx vitest run --project cli + language: system + pass_filenames: false + files: ^(bin|test|scripts)/ + stages: [pre-push] + priority: 20 + default_language_version: python: python3