add timeout lint and parallet test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
andrey1s
2021-04-26 17:29:58 +03:00
parent 78c60b74c4
commit 354c207dfa
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ steps:
- name: test
image: golang
commands:
- go test ./...
- go test -parallel 10 ./...
- name: golangci-lint
image: golangci/golangci-lint:v1.39

View File

@@ -1,3 +1,6 @@
run:
timeout: 5m
linters-settings:
dupl:
threshold: 100