increase lint-ci time out for github actions
parent
5f69426726
commit
e529093911
|
@ -42,13 +42,17 @@ jobs:
|
|||
run : |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libvirt-dev
|
||||
# does not include lint, because lint times out in github actions
|
||||
# lint is done in travis
|
||||
- name: only unit test
|
||||
run : |
|
||||
export TESTSUITE = "unittest"
|
||||
- name: lint
|
||||
env:
|
||||
TESTSUITE: lintall
|
||||
run : make test
|
||||
continue-on-error: false
|
||||
- name: unit test
|
||||
env:
|
||||
TESTSUITE: unittest
|
||||
run :
|
||||
make test
|
||||
continue-on-error: false
|
||||
continue-on-error: false
|
||||
# Run the following integration tests after the build_minikube
|
||||
# They will run in parallel and use the binaries in previous step
|
||||
docker_ubuntu_16_04:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -60,7 +60,7 @@ GOLINT_JOBS ?= 4
|
|||
# see https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
||||
GOLINT_GOGC ?= 100
|
||||
# options for lint (golangci-lint)
|
||||
GOLINT_OPTIONS = --timeout 4m \
|
||||
GOLINT_OPTIONS = --timeout 7m \
|
||||
--build-tags "${MINIKUBE_INTEGRATION_BUILD_TAGS}" \
|
||||
--enable goimports,gocritic,golint,gocyclo,misspell,nakedret,stylecheck,unconvert,unparam,dogsled \
|
||||
--exclude 'variable on range scope.*in function literal|ifElseChain' \
|
||||
|
|
Loading…
Reference in New Issue