From 8accb9dd6348c983b02364f9eb30753695702742 Mon Sep 17 00:00:00 2001 From: irongut Date: Wed, 27 Jul 2022 00:34:24 +0100 Subject: [PATCH] prepare v1.3.0-beta release --- README.md | 4 ++++ action.yml | 4 ++-- src/CodeCoverageSummary/CodeCoverageSummary.csproj | 4 ++-- src/CodeCoverageSummary/CommandLineOptions.cs | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 95145e2..0ae07a8 100644 --- a/README.md +++ b/README.md @@ -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. +**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. @@ -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. +**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. diff --git a/action.yml b/action.yml index 6e2ee62..6cc172a 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ branding: color: purple inputs: 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 badge: description: 'Include a Line Rate coverage badge in the output using shields.io - true / false (default).' @@ -42,7 +42,7 @@ inputs: default: '50 75' runs: using: 'docker' - image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.2.0' + image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.3.0-beta' args: - '--files' - ${{ inputs.filename }} diff --git a/src/CodeCoverageSummary/CodeCoverageSummary.csproj b/src/CodeCoverageSummary/CodeCoverageSummary.csproj index 117345d..c5d872c 100644 --- a/src/CodeCoverageSummary/CodeCoverageSummary.csproj +++ b/src/CodeCoverageSummary/CodeCoverageSummary.csproj @@ -7,14 +7,14 @@ Taranis Software Irongut A GitHub Action that reads Cobertura format code coverage files and outputs a text or markdown summary. - Copyright © 2021 Taranis Software + Copyright © 2021 - 2022 Taranis Software Taranis.CodeCoverageSummary MIT https://github.com/irongut/CodeCoverageSummary https://github.com/irongut/CodeCoverageSummary git coverage test-coverage cobertura action code-coverage coverlet github-actions - 1.2.0 + 1.3.0 diff --git a/src/CodeCoverageSummary/CommandLineOptions.cs b/src/CodeCoverageSummary/CommandLineOptions.cs index dbc64b5..f525a9f 100644 --- a/src/CodeCoverageSummary/CommandLineOptions.cs +++ b/src/CodeCoverageSummary/CommandLineOptions.cs @@ -6,7 +6,7 @@ namespace CodeCoverageSummary { 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 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")]