Commit bbb39b14 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] ci: create a tarball for coverage output

parent f62a0b8e
......@@ -80,11 +80,12 @@ test:
- mkdir -p /tmp/duniter_ci_dump/
- bash .gitlab/test/ /tmp/duniter_ci_dump/
# Code coverage display in GitLab
- tar cvzf coverage.tar.gz coverage/
- sed -n 23p coverage/index.html | grep -Po "\d+.\d+" | sed -e "s/\(.*\)/<coverage>\1%<\/coverage>/"
coverage: '/<coverage>(\d+.\d+\%)<\/coverage>/'
- coverage
- coverage.tar.gz
expire_in: 4h
.build_releases: &build_releases
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment