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

3
.golangci.yml

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

Loading…
Cancel
Save