提交 e5290939 编写于 作者: M Medya Gh

increase lint-ci time out for github actions

上级 5f694267
......@@ -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:
......
......@@ -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' \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册