Browse Source

add timeout lint and parallet test

master v0.0.3
andrey1s 3 years ago
parent
commit
354c207dfa
  1. 2
      .drone.yml
  2. 3
      .golangci.yml

2
.drone.yml

@ -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

3
.golangci.yml

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

Loading…
Cancel
Save