v1.1.0: ci: add coverage and test report

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-03-16 23:27:38 +01:00
commit fc3ef55c80
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632

View file

@ -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