add timeout lint and parallet test
This commit is contained in:
@@ -15,7 +15,7 @@ steps:
|
|||||||
- name: test
|
- name: test
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go test ./...
|
- go test -parallel 10 ./...
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
image: golangci/golangci-lint:v1.39
|
image: golangci/golangci-lint:v1.39
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
run:
|
||||||
|
timeout: 5m
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
dupl:
|
dupl:
|
||||||
threshold: 100
|
threshold: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user