ci: document TEST_COVERAGE and GO_COVER_DIR in buid.env

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2020-06-22 16:48:41 +02:00
committed by mergify[bot]
parent 4fd973b924
commit 3cc791c7c4
4 changed files with 10 additions and 5 deletions

View File

@ -30,7 +30,7 @@ for gopackage in ${GOPACKAGES}; do
fi
if [[ ${TEST_COVERAGE} = "html" && -f cover.out ]]; then
mkdir -p coverage
fn="coverage/${gopackage////-}.html"
fn="${GO_COVER_DIR}/${gopackage////-}.html"
echo " * generating coverage html: ${fn}"
go tool cover -html=cover.out -o "${fn}"
fi