Skip to content

Commit 4872575

Browse files
hooks: pre-push: Add pytest
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent e1d16e7 commit 4872575

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.hooks/pre-push

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ pylint $(git ls-files '*.py')
2020
echo "Running mypy.."
2121
git ls-files '*.py' | xargs --max-lines=1 mypy
2222

23+
echo "Running pytest.."
24+
pytest tests/ -vs
25+
2326
exit 0

0 commit comments

Comments
 (0)