You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-18Lines changed: 29 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ReportGenerator
2
2
3
-
This action is based on [danielpalme/ReportGenerator-GitHub-Action].
3
+
This action is a simplied version of [danielpalme/ReportGenerator-GitHub-Action]. It functions as a wrapper for the [dotnet-reportgenerator-globaltool].
4
4
5
5
[ReportGenerator] converts coverage reports generated by OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
6
6
@@ -10,7 +10,10 @@ This action does not generate the code coverage reports itself, those must be cr
10
10
11
11
-[ReportGenerator](#reportgenerator)
12
12
-[Inputs](#inputs)
13
+
-[Outputs](#outputs)
13
14
-[Usage Examples](#usage-examples)
15
+
-[Breaking changes](#breaking-changes)
16
+
-[4.9.2 to v5.0.0](#492-to-v500)
14
17
-[Contributing](#contributing)
15
18
-[Incrementing the Version](#incrementing-the-version)
16
19
-[Source Code Changes](#source-code-changes)
@@ -26,51 +29,48 @@ This action does not generate the code coverage reports itself, those must be cr
26
29
|`reports`| false |*/**/coverage.opencover.xml | The coverage reports that should be parsed (separated by semicolon). Globbing is supported. |
27
30
|`targetdir`| false | coverage-results | The directory where the generated report should be saved. |
|`sourcedirs`| false | '' | Optional directories which contain the corresponding source code (separated by semicolon). The source directories are used if coverage report contains classes without path information. |
30
-
|`historydir`| false | '' | Optional directory for storing persistent coverage information. Can be used in future reports to show coverage evolution. |
31
-
|`plugins`| false | '' | Optional plugin files for custom reports or custom history storage (separated by semicolon). |
32
32
|`assemblyfilters`| false | +*| Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. |
33
33
|`classfilters`| false | +*| Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. |
34
34
|`filefilters`| false | +*| Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. |
35
35
|`verbosity`| false | Info | The verbosity level of the log messages. <br/>Values: Verbose, Info, Warning, Error, Off |
36
36
|`title`| false | '' | Optional title. |
37
37
|`tag`| false | ${{ github.run_number }}_${{ github.run_id }} | Optional tag or build version. |
38
-
|`customSettings`| false | '' | Optional custom settings (separated by semicolon). See [Settings]. |
39
-
|`toolpath`| false | reportgeneratortool | Default directory for installing the dotnet tool. |
@@ -84,6 +84,19 @@ This action does not generate the code coverage reports itself, those must be cr
84
84
create-status-check: false
85
85
```
86
86
87
+
## Breaking changes
88
+
89
+
### 4.9.2 to v5.0.0
90
+
91
+
- The `toolpath` input was removed since it was underutilized. `v5` and above will check for the presence of the tool in the `./reportgeneratortool` directory, which was the default location in prior versions. If that directory does not exist, the tool will be installed with `v4.8.12`. If desired, a different version of the global tool can be installed in this location prior to this action but different versions of the report generator tool may or may not be compatible with this action's code.
92
+
- The `4.8.12` version of the tool is older but will continue to be used to preserve metrics in the generated reports that newer versions no longer produce.
93
+
- The following inputs were not utilized and have been removed completely from the action starting with `v5`.
94
+
- `sourcedirs`
95
+
- `historydir`
96
+
- `plugins`
97
+
- `customSettings`
98
+
- Previously, each version of the action had two tags, one with the `v` prefix and one without it. There will only be one tag per version going forward and it includes the `v` prefix.
99
+
87
100
## Contributing
88
101
89
102
When creating PRs, please review the following guidelines:
@@ -132,7 +145,7 @@ This project has adopted the [im-open's Code of Conduct](https://github.com/im-o
description: 'Optional directories which contain the corresponding source code (separated by semicolon). The source directories are used if coverage report contains classes without path information.'
18
-
required: false
19
-
default: ''
20
-
historydir:
21
-
description: 'Optional directory for storing persistent coverage information. Can be used in future reports to show coverage evolution.'
22
-
required: false
23
-
default: ''
24
-
toolpath:
25
-
description: 'Default directory for installing the dotnet tool.'
26
-
required: false
27
-
default: 'reportgeneratortool'
28
-
plugins:
29
-
description: 'Optional plugin files for custom reports or custom history storage (separated by semicolon).'
30
-
required: false
31
-
default: ''
32
-
assemblyfilters:
33
-
description: 'Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
34
-
required: false
35
-
default: '+*'
36
-
classfilters:
37
-
description: 'Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
38
-
required: false
39
-
default: '+*'
40
-
filefilters:
41
-
description: 'Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
42
-
required: false
43
-
default: '+*'
44
-
verbosity:
45
-
description: 'The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off'
description: 'Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
18
+
required: false
19
+
default: '+*'
20
+
classfilters:
21
+
description: 'Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
22
+
required: false
23
+
default: '+*'
24
+
filefilters:
25
+
description: 'Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
26
+
required: false
27
+
default: '+*'
28
+
verbosity:
29
+
description: 'The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off'
0 commit comments