Skip to content

Commit 1a55c79

Browse files
committed
#1: Fixed default filters
1 parent a3c3a64 commit 1a55c79

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
- name: Setup .NET Core # Required to execute ReportGenerator
99
uses: actions/setup-dotnet@v1
1010
with:
11-
dotnet-version: 3.1.102
11+
dotnet-version: 3.1.201
1212

1313
- name: ReportGenerator
14-
uses: danielpalme/[email protected].6
14+
uses: danielpalme/[email protected].7
1515
with:
1616
reports: 'coverage.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
1717
targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
1818
reporttypes: 'HtmlInline;Cobertura' # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, Xml, XmlSummary
1919
sourcedirs: '' # Optional directories which contain the corresponding source code (separated by semicolon). The source directories are used if coverage report contains classes without path information.
2020
historydir: '' # Optional directory for storing persistent coverage information. Can be used in future reports to show coverage evolution.
2121
plugins: '' # Optional plugin files for custom reports or custom history storage (separated by semicolon).
22-
assemblyfilters: '+' # Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
23-
classfilters: '+' # Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
24-
filefilters: '+' # Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
22+
assemblyfilters: '+*' # Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
23+
classfilters: '+*' # Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
24+
filefilters: '+*' # Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
2525
verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
2626
title: '' # Optional title.
2727
tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version.

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ inputs:
2929
assemblyfilters:
3030
description: 'Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
3131
required: false
32-
default: '+'
32+
default: '+*'
3333
classfilters:
3434
description: 'Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
3535
required: false
36-
default: '+'
36+
default: '+*'
3737
filefilters:
3838
description: 'Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.'
3939
required: false
40-
default: '+'
40+
default: '+*'
4141
verbosity:
4242
description: 'The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off'
4343
required: false

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ function run() {
995995
core.info("- name: Setup .NET Core");
996996
core.info(" uses: actions/setup-dotnet@v1");
997997
core.info(" with");
998-
core.info(" dotnet-version: '3.1.102'");
998+
core.info(" dotnet-version: '3.1.201'");
999999
return;
10001000
}
10011001
core.info("Detected .NET Core SDK version '" + output + "'");

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ReportGenerator",
3-
"version": "4.5.6",
3+
"version": "4.5.7",
44
"description": "",
55
"main": "lib/reportgenerator.js",
66
"scripts": {

src/reportgenerator.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function run() {
2929
core.info("- name: Setup .NET Core");
3030
core.info(" uses: actions/setup-dotnet@v1");
3131
core.info(" with");
32-
core.info(" dotnet-version: '3.1.102'");
32+
core.info(" dotnet-version: '3.1.201'");
3333
return;
3434
}
3535

@@ -102,10 +102,6 @@ async function run() {
102102
}
103103

104104
core.info("Successfully executed ReportGenerator");
105-
106-
107-
108-
109105
} catch (error) {
110106
core.setFailed(error.message);
111107
}

0 commit comments

Comments
 (0)