mirror of
https://github.com/irongut/CodeCoverageSummary.git
synced 2026-05-21 01:10:13 +02:00
prepare v1.3.0-beta release
This commit is contained in:
@@ -18,6 +18,8 @@ Code Coverage Summary is designed for use with [Coverlet](https://github.com/cov
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
**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.
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
@@ -28,6 +30,8 @@ As a Docker based action Code Coverage Summary requires a Linux runner, see [Typ
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
**v1.3.0-beta only:** Also supports using glob patterns to match multiple files.
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -6,7 +6,7 @@ branding:
|
|||||||
color: purple
|
color: purple
|
||||||
inputs:
|
inputs:
|
||||||
filename:
|
filename:
|
||||||
description: 'A comma separated list of code coverage files to analyse.'
|
description: 'A comma separated list of code coverage files to analyse. Also accepts glob patterns.'
|
||||||
required: true
|
required: true
|
||||||
badge:
|
badge:
|
||||||
description: 'Include a Line Rate coverage badge in the output using shields.io - true / false (default).'
|
description: 'Include a Line Rate coverage badge in the output using shields.io - true / false (default).'
|
||||||
@@ -42,7 +42,7 @@ inputs:
|
|||||||
default: '50 75'
|
default: '50 75'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.2.0'
|
image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.3.0-beta'
|
||||||
args:
|
args:
|
||||||
- '--files'
|
- '--files'
|
||||||
- ${{ inputs.filename }}
|
- ${{ inputs.filename }}
|
||||||
|
|||||||
@@ -7,14 +7,14 @@
|
|||||||
<Company>Taranis Software</Company>
|
<Company>Taranis Software</Company>
|
||||||
<Authors>Irongut</Authors>
|
<Authors>Irongut</Authors>
|
||||||
<Description>A GitHub Action that reads Cobertura format code coverage files and outputs a text or markdown summary.</Description>
|
<Description>A GitHub Action that reads Cobertura format code coverage files and outputs a text or markdown summary.</Description>
|
||||||
<Copyright>Copyright © 2021 Taranis Software</Copyright>
|
<Copyright>Copyright © 2021 - 2022 Taranis Software</Copyright>
|
||||||
<PackageId>Taranis.CodeCoverageSummary</PackageId>
|
<PackageId>Taranis.CodeCoverageSummary</PackageId>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/irongut/CodeCoverageSummary</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/irongut/CodeCoverageSummary</PackageProjectUrl>
|
||||||
<RepositoryUrl>https://github.com/irongut/CodeCoverageSummary</RepositoryUrl>
|
<RepositoryUrl>https://github.com/irongut/CodeCoverageSummary</RepositoryUrl>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<PackageTags>coverage test-coverage cobertura action code-coverage coverlet github-actions</PackageTags>
|
<PackageTags>coverage test-coverage cobertura action code-coverage coverlet github-actions</PackageTags>
|
||||||
<Version>1.2.0</Version>
|
<Version>1.3.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace CodeCoverageSummary
|
|||||||
{
|
{
|
||||||
public class CommandLineOptions
|
public class CommandLineOptions
|
||||||
{
|
{
|
||||||
[Option(longName: "files", Separator = ',', Required = true, HelpText = "A comma separated list of code coverage files to analyse.")]
|
[Option(longName: "files", Separator = ',', Required = true, HelpText = "A comma separated list of code coverage files to analyse. Also accepts glob patterns.")]
|
||||||
public IEnumerable<string> Files { get; set; }
|
public IEnumerable<string> Files { get; set; }
|
||||||
|
|
||||||
[Option(longName: "badge", Required = false, HelpText = "Include a Line Rate coverage badge in the output using shields.io - true or false.", Default = "false")]
|
[Option(longName: "badge", Required = false, HelpText = "Include a Line Rate coverage badge in the output using shields.io - true or false.", Default = "false")]
|
||||||
|
|||||||
Reference in New Issue
Block a user