From fc3ef55c80cbf60db699d1241c925fc3eaa624a4 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Sat, 16 Mar 2024 23:27:38 +0100 Subject: [PATCH] v1.1.0: ci: add coverage and test report Signed-off-by: GnomeZworc --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1c1cd2..2004cfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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