Skip to content

Commit 402b454

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

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)