Skip to content

Commit

Permalink
change defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
eberlitz committed Apr 6, 2021
1 parent d60476e commit feb3eca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ branch. When this is set a diff of the coverage percentages is shown.
##### `show-uncovered-lines` (**Optional**)
When set to `true` will show the **uncovered lines** column. **Defaults** to `false`;
##### `show-color-emoji` (**Optional**)
When set to true will show a colored emoji if the coverage decreased 🔴 or increased 🟢, like "<b>98.61</b>(+2.61) 🟢 ". **Defaults** to `true`;
When set to true will show a colored emoji if the coverage decreased 🔴 or increased 🟢, like "<b>98.61</b>(+2.61) 🟢 ". **Defaults** to `false`;

##### `show-old-value-for-files` (**Optional**)
When set to true will show the old coverage result value, like: "<del>94,65</del> <b>98.61</b>". **Defaults** to `false`;
When set to true will show the old coverage result value, like: "<del>94,65</del> <b>98.61</b>". **Defaults** to `true`;

##### `show-increase-per-files` (**Optional**)
When set to true will show the increase/decrease difference of the coverage, like: "<b>98.61</b>(+2.61)". **Defaults** to `true`;
When set to true will show the increase/decrease difference of the coverage, like: "<b>98.61</b>(+2.61)". **Defaults** to `false`;


## Example usage

```yml
uses: eberlitz/[email protected].27
uses: eberlitz/[email protected].29
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
Expand Down
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ inputs:
show-color-emoji:
description: Set to true to show a colored emoji if the coverage decreased or increased
required: false
default: 'true'
show-old-value-for-files:
description: Set to true to show the old coverage result value
required: false
default: 'true'
show-increase-per-files:
description: Set to true to show the increase/decrease difference of the coverage;
required: false
default: 'true'

runs:
using: node12
Expand Down

1 comment on commit feb3eca

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

➿ Coverage for this commit

71.63

Coverage Report
File% Stmts% Branches% Funcs% Lines
src
   cli.js0000
   comment.js73.3366.6710075
   html.js100100100100
   index.js0000
   lcov.js100100100100
   report.js94.1282.0510098.61
   tabulate.js97.2795.9210097.96

Please sign in to comment.