-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (27 loc) · 883 Bytes
/
action.yml
File metadata and controls
29 lines (27 loc) · 883 Bytes
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
name: 'Code Coverage Report'
description: 'Generate a code coverage report'
inputs:
github_token:
description: 'GitHub token with repo access'
required: false
default: '${{ github.token }}'
coverage_file:
description: 'Path to the coverage file'
required: false
default: 'coverage/lcov.info'
coverage_threshold:
description: 'Minimum acceptable coverage percentage'
required: false
default: '80'
include_pattern:
description: 'Regex pattern to find files that should be included in the report'
required: true
example: '^.*\.dart$'
exclude_pattern:
description: 'Regex pattern to exclude files from the report'
required: false
example: 'test/|\.dart_tool/'
default: '\\b\\B' # Default to a regex that matches nothing, so that no files are excluded by default.
runs:
using: 'node24'
main: 'dist/index.js'