add timeout lint and parallet test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
linters-settings:
|
||||
dupl:
|
||||
threshold: 100
|
||||
|
||||
Reference in New Issue
Block a user