-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
83 lines (83 loc) · 3.33 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Gcovr Action
author: Alfi Maulana
description: Check test coverage and generate reports for C/C++ projects using gcovr.
branding:
icon: check-circle
color: green
inputs:
root:
description: Root directory of your source files. Defaults to the current directory. File names are reported relative to this directory.
gcov-executable:
description: Use a specific gcov executable. It must match the compiler you are using, e.g., `llvm-cov gcov` for LLVM Clang.
excludes:
description: Exclude source files that match these filters.
filter:
description: Filter source files that match these filters.
fail-under-line:
description: Fail if the total line coverage is less than this value.
fail-under-branch:
description: Fail if the total branch coverage is less than this value.
fail-under-function:
description: Fail if the total function coverage is less than this value.
fail-under-decision:
description: Fail if the total decision coverage is less than this value.
html-out:
description: Output file for the generated HTML report.
html-details:
description: Enable to add annotated source code reports to the HTML report. Defaults to `false`.
default: false
html-theme:
description: Override the default color theme for the HTML report.
html-title:
description: Override the default title for the HTML report.
xml-out:
description: Output file for the generated Cobertura report.
deprecated: Better use `cobertura-out`, because this also supports the optional `cobertura-pretty` flag.
coveralls-out:
description: Output file for the generated Coveralls report.
coveralls-send:
description: Send the generated Coveralls report to its endpoint. Defaults to `false`.
default: false
decisions:
description: Report the decision coverage. For HTML, JSON, and the summary report.
default: false
calls:
description: Report the calls coverage. For HTML and the summary report.
default: false
jobs:
description: Set the number of threads to use in parallel.
default: false
print-summary:
description: 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.
default: false
github-token:
description: GitHub token for your project. Defaults to `github.token`. Required for successfully sending the Coveralls report to its endpoint.
default: ${{ github.token }}
working-directory:
description: The working directory where gcovr should be executed.
cobertura-out:
description: Output file for the generated Cobertura report.
cobertura-pretty:
description: Pretty-print the Cobertura XML report.
default: false
jacoco-out:
description: Output file for the generated JaCoCo report.
json-out:
description: Generate a JSON report.
json-pretty:
description: Pretty-print the JSON report.
default: false
json-summary-out:
description: Generate a JSON summary report.
json-summary-pretty:
description: Pretty-print the JSON SUMMARY report.
default: false
lcov-out:
description: Generate LCOV coverage report.
sonarqube-out:
description: Generate sonarqube generic coverage report.
txt-out:
description: Output file for the generated text report.
runs:
using: node20
main: dist/index.js