Skip to content

Commit b4b383c

Browse files
committed
pre-commit: Run unittests on each commit
1 parent 5d81419 commit b4b383c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,16 @@ repos:
2626
files: ^(\.pre-commit/version_check\.py|setup\.py|sphinx_multiversion/__init__\.py|docs/conf\.py|docs/changelog\.rst)$
2727
additional_dependencies:
2828
- sphinx
29+
- id: unittest
30+
name: unittest
31+
description: "Run unittests"
32+
entry: python -m unittest discover
33+
pass_filenames: false
34+
language: python
35+
types:
36+
- python
37+
stages:
38+
- commit
39+
- manual
40+
additional_dependencies:
41+
- sphinx

0 commit comments

Comments
 (0)