Skip to content

Commit 8accb9d

Browse files
committed
prepare v1.3.0-beta release
1 parent 21fb9f6 commit 8accb9d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Code Coverage Summary is designed for use with [Coverlet](https://github.com/cov
1818

1919
If you're using [Simplecov](https://github.com/simplecov-ruby/simplecov) please see the [wiki](https://github.com/irongut/CodeCoverageSummary/wiki/Simplecov-Compatibility) for required settings to enable compatibility with Code Coverage Summary.
2020

21+
**v1.3.0-beta only:** Code Coverage Summary should now be compatible with simplecov using the default settings as well as MATLAB's code coverage plugin.
22+
2123
As a Docker based action Code Coverage Summary requires a Linux runner, see [Types of Action](https://docs.github.com/en/actions/creating-actions/about-custom-actions#types-of-actions). If you need to build with a Windows or MacOS runner a workaround would be to upload the coverage file as an artifact and use a separate job with a Linux runner to generate the summary.
2224

2325

@@ -28,6 +30,8 @@ As a Docker based action Code Coverage Summary requires a Linux runner, see [Typ
2830

2931
A comma separated list of code coverage files to analyse. If there are any spaces in a path or filename this value must be in quotes.
3032

33+
**v1.3.0-beta only:** Also supports using glob patterns to match multiple files.
34+
3135
Note: Coverlet creates the coverage file in a random named directory (guid) so you need to copy it to a predictable path before running this Action, see the [.Net Workflow Example](#net-workflow-example) below.
3236

3337

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ branding:
66
color: purple
77
inputs:
88
filename:
9-
description: 'A comma separated list of code coverage files to analyse.'
9+
description: 'A comma separated list of code coverage files to analyse. Also accepts glob patterns.'
1010
required: true
1111
badge:
1212
description: 'Include a Line Rate coverage badge in the output using shields.io - true / false (default).'
@@ -42,7 +42,7 @@ inputs:
4242
default: '50 75'
4343
runs:
4444
using: 'docker'
45-
image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.2.0'
45+
image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.3.0-beta'
4646
args:
4747
- '--files'
4848
- ${{ inputs.filename }}

src/CodeCoverageSummary/CodeCoverageSummary.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<Company>Taranis Software</Company>
88
<Authors>Irongut</Authors>
99
<Description>A GitHub Action that reads Cobertura format code coverage files and outputs a text or markdown summary.</Description>
10-
<Copyright>Copyright © 2021 Taranis Software</Copyright>
10+
<Copyright>Copyright © 2021 - 2022 Taranis Software</Copyright>
1111
<PackageId>Taranis.CodeCoverageSummary</PackageId>
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<PackageProjectUrl>https://github.com/irongut/CodeCoverageSummary</PackageProjectUrl>
1414
<RepositoryUrl>https://github.com/irongut/CodeCoverageSummary</RepositoryUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<PackageTags>coverage test-coverage cobertura action code-coverage coverlet github-actions</PackageTags>
17-
<Version>1.2.0</Version>
17+
<Version>1.3.0</Version>
1818
</PropertyGroup>
1919

2020
<ItemGroup>

src/CodeCoverageSummary/CommandLineOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace CodeCoverageSummary
66
{
77
public class CommandLineOptions
88
{
9-
[Option(longName: "files", Separator = ',', Required = true, HelpText = "A comma separated list of code coverage files to analyse.")]
9+
[Option(longName: "files", Separator = ',', Required = true, HelpText = "A comma separated list of code coverage files to analyse. Also accepts glob patterns.")]
1010
public IEnumerable<string> Files { get; set; }
1111

1212
[Option(longName: "badge", Required = false, HelpText = "Include a Line Rate coverage badge in the output using shields.io - true or false.", Default = "false")]

0 commit comments

Comments
 (0)