flowbber.plugins.sinks.lcov_html
¶This sink plugin run lcov genhtml
executable to generate a html report of
coverage.
Note
This sink requires the genhtml
executable to be available in your system
to run.
Dependencies:
pip3 install flowbber[lcov_html]
Usage:
[[sinks]]
type = "lcov_html"
id = "..."
[sinks.config]
key = "<id of lcov source>"
output = "<output directory>"
override = true
create_parents = true
{
"sinks": [
{
"type": "lcov_html",
"id": "...",
"config": {
"key": "<id of lcov source>",
"output": "<output directory>",
"override": true,
"create_parents": true
}
}
]
}
Id of a lcov source in the pipeline.
Default: N/A
Optional: False
Schema:
{
'type': 'string',
'empty': False,
}
Secret: False
Path to a directory to write the generated html.
Default: N/A
Optional: False
Schema:
{
'type': 'string',
'empty': False,
}
Secret: False
Override output directory if already exists.
Default: False
Optional: True
Schema:
{
'type': 'boolean',
}
Secret: False
Create output parent directories if don’t exist.
Default: True
Optional: True
Schema:
{
'type': 'boolean',
}
Secret: False
LcovHTMLSink
:
Main base class to implement a Sink.flowbber.plugins.sinks.lcov_html.
LcovHTMLSink
(index, type_, id_, optional=False, timeout=None, config=None)¶Inheritance