Merge branch '3-issue' into 'main'
fix code quality Closes #3 See merge request h6n/users!5
This commit is contained in:
commit
da4f296b5e
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue