forked from TrueCloudLab/frostfs-sdk-go
[#209] pre-commit: Add unit-test hook
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
d9ec7c1988
commit
edd40474e8
1 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,15 @@ repos:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: "(.key|.interp|.tokens)$"
|
exclude: "(.key|.interp|.tokens)$"
|
||||||
|
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: go-unit-tests
|
||||||
|
name: go unit tests
|
||||||
|
entry: make test GOFLAGS=''
|
||||||
|
pass_filenames: false
|
||||||
|
types: [go]
|
||||||
|
language: system
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: make-lint
|
- id: make-lint
|
||||||
|
|
Loading…
Reference in a new issue