sidx1024/Report NYC coverage

GitHub Action that posts the report in a comment on a GitHub Pull Request from coverage data generated by nyc (istanbul).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
coverage_filePath to coverage file generated by "nyc report".yescoverage-summary.json
base_coverage_filePath to coverage file generated by "nyc report" for the base branch (for comparison)yes.base_nyc_output/coverage-summary.json
comment_template_fileTemplate file to be used for GitHub PR comment. Markdown and Svelte are supported.nocomment-template.md
comment_mode"replace" or "new"noreplace
github_tokenAn alternative GitHub token, other than the default provided by GitHub Actions runner. Optional.no${{ github.token }}
sources_base_pathAbsolute path to the source files. The path will be trimmed from the coverage data. Optional. Default is the github workspace directory with a trailing slash.no${{ format('{0}/', github.workspace) }}
files_coverage_table_output_type_orderSpecify the order for coverage types to be included in the output table. (S: statements, B: branches, F: functions, L: lines). Missing types will be excluded.noSBFL
namedescription
total_lines_coverage_percentTotal lines coverage percent (XX.XX%) with level indicator
total_branches_coverage_percentTotal branches coverage percent (XX.XX%) with level indicator
total_statements_coverage_percentTotal statements coverage percent (XX.XX%) with level indicator
total_functions_coverage_percentTotal functions coverage percent (XX.XX%) with level indicator
total_lines_coverage_percent_rawTotal lines coverage percent (XX.XX) without percent and level indicator
total_branches_coverage_percent_rawTotal branches coverage percent (XX.XX) without percent and level indicator
total_statements_coverage_percent_rawTotal statements coverage percent (XX.XX) without percent and level indicator
total_functions_coverage_percent_rawTotal functions coverage percent (XX.XX) without percent and level indicator
base_total_lines_coverage_percentBase total lines coverage percent (XX.XX%) with level indicator
base_total_branches_coverage_percentBase total branches coverage percent (XX.XX%) with level indicator
base_total_statements_coverage_percentBase total statements coverage percent (XX.XX%) with level indicator
base_total_functions_coverage_percentBase total functions coverage percent (XX.XX%) with level indicator
total_lines_coverage_percent_diffTotal lines coverage percent diff (+XX.XX%)
total_statements_coverage_percent_diffTotal branches coverage percent diff (+XX.XX%)
total_functions_coverage_percent_diffTotal statements coverage percent diff (+XX.XX%)
total_branches_coverage_percent_diffTotal functions coverage percent diff (+XX.XX%)
total_lines_coverage_percent_diff_rawTotal lines coverage percent diff (-XX.XX) without percent sign
total_statements_coverage_percent_diff_rawTotal branches coverage percent diff (-XX.XX) without percent sign
total_functions_coverage_percent_diff_rawTotal statements coverage percent diff (-XX.XX) without percent sign
total_branches_coverage_percent_diff_rawTotal functions coverage percent diff (-XX.XX) without percent sign
files_coverage_tableHTML table content containing the file path and corresponding coverage percent for all files
changed_files_coverage_tableHTML table content containing the file path and corresponding coverage percent for files changed in the PR
comment_bodyThe comment body in HTML format
commit_shaLast commit SHA (commit due to which this action was executed)
short_commit_shaLast commit SHA in shorter format (6ef01b)
commit_linkRelative link for the last commit
base_commit_shaBase commit SHA
base_short_commit_shaBase commit SHA in shorter format (bca317)
base_commit_linkRelative link for the base commit
base_refBase branch name