v1.1.0: ci: add coverage and test report
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6675a35088
commit
fc3ef55c80
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ lint:
|
|||
image: golangci/golangci-lint:$GOLANGCI_LINT_VERSION
|
||||
stage: check
|
||||
before_script: []
|
||||
services: []
|
||||
script:
|
||||
- golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json
|
||||
artifacts:
|
||||
|
|
@ -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