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
|
image: golangci/golangci-lint:$GOLANGCI_LINT_VERSION
|
||||||
stage: check
|
stage: check
|
||||||
before_script: []
|
before_script: []
|
||||||
|
services: []
|
||||||
script:
|
script:
|
||||||
- golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json
|
- golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -70,6 +71,8 @@ integration_test:
|
||||||
- bash -ex ./scripts/prepar_test.sh
|
- bash -ex ./scripts/prepar_test.sh
|
||||||
- . ./config/test.src
|
- . ./config/test.src
|
||||||
- go test -v ./cmd/
|
- go test -v ./cmd/
|
||||||
|
- go install gotest.tools/gotestsum@latest
|
||||||
|
- gotestsum --junitfile report.xml --format testname
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue