-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor unit tests on package lock (#374)
* don't use ping to wait for some time a ping to localhost doesn't necessarily work on some firewalled computers * fix duplicated tests * fix tests under windows * fix linux test by using "exec"
- Loading branch information
1 parent
5cfdca2
commit 854f6c9
Showing
8 changed files
with
77 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +0,0 @@ | ||
linters-settings: | ||
govet: | ||
check-shadowing: true | ||
gocyclo: | ||
min-complexity: 20 | ||
dupl: | ||
threshold: 100 | ||
goconst: | ||
min-len: 3 | ||
min-occurrences: 3 | ||
lll: | ||
line-length: 160 | ||
nakedret: | ||
max-func-lines: 20 | ||
gocritic: | ||
enabled-tags: | ||
- performance | ||
- style | ||
- diagnostic | ||
disabled-checks: | ||
- dupImport # https://github.com/go-critic/go-critic/issues/845 | ||
settings: | ||
rangeValCopy: | ||
sizeThreshold: 512 | ||
hugeParam: | ||
sizeThreshold: 512 | ||
linters: | ||
enable-all: true | ||
disable: | ||
- interfacer | ||
- scopelint | ||
- golint | ||
- maligned | ||
- godot | ||
- gochecknoglobals | ||
- exhaustivestruct | ||
- wsl | ||
- nestif | ||
- goerr113 | ||
- nlreturn | ||
- wrapcheck | ||
- misspell | ||
- cyclop | ||
- whitespace | ||
- paralleltest | ||
|
||
fast: false | ||
|
||
run: | ||
tests: true | ||
|
||
issues: | ||
exclude-use-default: true | ||
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.