diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61a853b..2004cfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,8 +29,9 @@ lint: image: golangci/golangci-lint:$GOLANGCI_LINT_VERSION stage: check before_script: [] + services: [] script: - - golangci-lint run --issues-exit-code 1 --print-issued-lines=false --out-format code-climate:gl-code-quality-report.json,line-number + - golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json artifacts: reports: codequality: gl-code-quality-report.json @@ -70,6 +71,8 @@ integration_test: - bash -ex ./scripts/prepar_test.sh - . ./config/test.src - go test -v ./cmd/ + - go install gotest.tools/gotestsum@latest + - gotestsum --junitfile report.xml --format testname needs: - build