Skip to content
Snippets Groups Projects
Commit 03f92f20 authored by ale's avatar ale
Browse files

Add explicit test CI stage with coverage report artifacts

parent 08e4f3c3
No related branches found
No related tags found
No related merge requests found
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-nextstable.yml"
stages:
- test
- build_pkgsrc
- build_pkg
- upload_pkg
build_pkgsrc:bullseye:
only:
- master
build_pkg:bullseye:amd64:
only:
- master
test:
stage: test
image: golang:1.14
script:
- go get github.com/boumenot/gocover-cobertura
- go test -v -cover -coverprofile=cover.out ./...
- gocover-cobertura < cover.out > cover.xml
artifacts:
reports:
cobertura: cover.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment