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