threeal/Gcovr Action
Check test coverage and generate reports for C/C++ projects using gcovr.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| root | Root directory of your source files. Defaults to the current directory. File names are reported relative to this directory. | — | — |
| gcov-executable | Use a specific gcov executable. It must match the compiler you are using, e.g., `llvm-cov gcov` for LLVM Clang. | — | — |
| excludes | Exclude source files that match these filters. | — | — |
| filter | Filter source files that match these filters. | — | — |
| fail-under-line | Fail if the total line coverage is less than this value. | — | — |
| fail-under-branch | Fail if the total branch coverage is less than this value. | — | — |
| fail-under-function | Fail if the total function coverage is less than this value. | — | — |
| fail-under-decision | Fail if the total decision coverage is less than this value. | — | — |
| html-out | Output file for the generated HTML report. | — | — |
| html-details | Enable to add annotated source code reports to the HTML report. Defaults to `false`. | — | false |
| html-theme | Override the default color theme for the HTML report. | — | — |
| html-title | Override the default title for the HTML report. | — | — |
| xml-out | Output file for the generated Cobertura report. | — | — |
| coveralls-out | Output file for the generated Coveralls report. | — | — |
| coveralls-send | Send the generated Coveralls report to its endpoint. Defaults to `false`. | — | false |
| decisions | Report the decision coverage. For HTML, JSON, and the summary report. | — | false |
| calls | Report the calls coverage. For HTML and the summary report. | — | false |
| jobs | Set the number of threads to use in parallel. | — | false |
| print-summary | Print 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-token | GitHub token for your project. Defaults to `github.token`. Required for successfully sending the Coveralls report to its endpoint. | — | ${{ github.token }} |
| working-directory | The working directory where gcovr should be executed. | — | — |
| cobertura-out | Output file for the generated Cobertura report. | — | — |
| cobertura-pretty | Pretty-print the Cobertura XML report. | — | false |
| jacoco-out | Output file for the generated JaCoCo report. | — | — |
| json-out | Generate a JSON report. | — | — |
| json-pretty | Pretty-print the JSON report. | — | false |
| json-summary-out | Generate a JSON summary report. | — | — |
| json-summary-pretty | Pretty-print the JSON SUMMARY report. | — | false |
| lcov-out | Generate LCOV coverage report. | — | — |
| sonarqube-out | Generate sonarqube generic coverage report. | — | — |
| txt-out | Output file for the generated text report. | — | — |
Outputs
no outputs