-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
43 lines (43 loc) · 1.79 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
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.
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.
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.
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
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.
runs:
using: node20
main: dist/index.js