Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add title option to Code Coverage Summary output #362

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

syed-farazahmed
Copy link

This pull request includes several changes to add a "title" field to the code coverage summary output and to standardize the use of double quotes in the action.yml file.

Adding "title" field to code coverage summary:

  • README.md: Added a "title" field to the job configuration to allow setting a custom title for the code coverage summary.
  • action.yml: Introduced a new input parameter title to specify a title for the output, with a default value of "Code Coverage Summary".
  • src/CodeCoverageSummary/CommandLineOptions.cs: Added a new option Title to the CommandLineOptions class to accept a title for the output.
  • src/CodeCoverageSummary/Program.cs: Updated the GenerateTextOutput and GenerateMarkdownOutput methods to include the title in the output if provided. [1] [2] [3]

Standardizing quotes in action.yml:

  • action.yml: Replaced single quotes with double quotes for consistency across the file.

@github-actions github-actions bot added Action An issue related to the action definition. Options An issue related to the Action's parameters. Parsing An issue reletad to parsing the coverage xml. Summary An issue related to creating the code coverage summary. labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Action An issue related to the action definition. DevOps Options An issue related to the Action's parameters. Parsing An issue reletad to parsing the coverage xml. Summary An issue related to creating the code coverage summary.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant