Files
test/.pre-commit-config.yaml
Andrew Vaillancourt 66bc9b9fc5 Enable pre-push unit test check via pre-commit
Adds a new pre-push hook to .pre-commit-config.yaml that runs
`pytest unit_tests/` before allowing any push, including `git review`.

This ensures that regressions in fast-running unit tests are caught
before changes are submitted for review.

To activate the hook locally:
  pre-commit install --hook-type pre-commit
  pre-commit install --hook-type pre-push

Change-Id: Ia2d0fe56eabf6466e27f0432ac2fb91c7b444832
Signed-off-by: Andrew Vaillancourt <andrew.vaillancourt@windriver.com>
2025-05-08 00:34:20 -04:00

2.7 KiB