threeal/Gcovr Action

Check test coverage and generate reports for C/C++ projects using gcovr.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
rootRoot directory of your source files. Defaults to the current directory. File names are reported relative to this directory.
gcov-executableUse a specific gcov executable. It must match the compiler you are using, e.g., `llvm-cov gcov` for LLVM Clang.
excludesExclude source files that match these filters.
filterFilter source files that match these filters.
fail-under-lineFail if the total line coverage is less than this value.
fail-under-branchFail if the total branch coverage is less than this value.
fail-under-functionFail if the total function coverage is less than this value.
fail-under-decisionFail if the total decision coverage is less than this value.
html-outOutput file for the generated HTML report.
html-detailsEnable to add annotated source code reports to the HTML report. Defaults to `false`.false
html-themeOverride the default color theme for the HTML report.
html-titleOverride the default title for the HTML report.
xml-outOutput file for the generated Cobertura report.
coveralls-outOutput file for the generated Coveralls report.
coveralls-sendSend the generated Coveralls report to its endpoint. Defaults to `false`.false
decisionsReport the decision coverage. For HTML, JSON, and the summary report.false
callsReport the calls coverage. For HTML and the summary report.false
jobsSet the number of threads to use in parallel.false
print-summaryPrint a small report to stdout with line & function & branch percentage coverage optional parts are decision & call coverage. This is in addition to other reports.false
github-tokenGitHub token for your project. Defaults to `github.token`. Required for successfully sending the Coveralls report to its endpoint.${{ github.token }}
working-directoryThe working directory where gcovr should be executed.
cobertura-outOutput file for the generated Cobertura report.
cobertura-prettyPretty-print the Cobertura XML report.false
jacoco-outOutput file for the generated JaCoCo report.
json-outGenerate a JSON report.
json-prettyPretty-print the JSON report.false
json-summary-outGenerate a JSON summary report.
json-summary-prettyPretty-print the JSON SUMMARY report.false
lcov-outGenerate LCOV coverage report.
sonarqube-outGenerate sonarqube generic coverage report.
txt-outOutput file for the generated text report.

no outputs