Convert lcov coverage output to cobertura XML format for e.g. GitLab CI/CD.
1.4K
Source: https://github.com/mike-kfed/lcov2cobertura/
How to run is explained it the help output docker run mikekfed/lcov2xml --help
convert LCOV info file to cobertura XML format
Usage: lcov2xml [OPTIONS] [FILES]...
Arguments:
[FILES]... LCOV input files, use single dash '-' argument to read from standard input
Options:
-b, --base-dir <BASE_DIR> Directory where source files are located [default: .]
-o, --output <OUTPUT> Path to store cobertura XML file [default: coverage.xml]
-e, --excludes <EXCLUDES> Comma-separated list of regexes of packages to exclude [default: ]
-d, --demangle Demangle function names
--demangler <DEMANGLER> Path to demangler tool, e.g. `c++filt` for C++, `$rust` = internal rustc demangler [default: $rust]
--split-xml Splits XML file into 9.5 megabytes big chunks for GitLab, attention keeps original file intact
-h, --help Print help
-V, --version Print version
Content type
Image
Digest
sha256:42bad2d11…
Size
5.5 MB
Last updated
4 days ago
docker pull mikekfed/lcov2xml