-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (38 loc) · 1018 Bytes
/
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: 'Dotnet Test Coverlet'
description: 'Reusable action to run unit tests on a .NET project and generate a code coverage report.'
inputs:
project:
description: |
The path to the .NET unit test project.
The path should be relative to the repository root.
required: true
exclude-files:
description: |
Files to exclude from code coverage analysis.
Supports glob patterns.
required: false
default: ''
exclude-modules:
description: 'Modules to exclude from code coverage analysis'
required: false
default: ''
threshold:
description: 'Code coverage threshold percentage'
required: false
default: 0
dotnet-version:
description: 'The .NET SDK version to use'
default: '6.0'
options:
- '8.0'
- '7.0'
- '6.0'
outputs:
coverage-report-path:
description: 'Path to the generated code coverage report directory'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'check-circle'
color: 'blue'