Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaKav committed Jan 21, 2022
1 parent 77bff24 commit 2b16dda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ Example GitHub Action workflow that passes all params to Pytest Coverage Comment
hide-report: false
create-new-comment: false
hide-comment: false
report-only-changed-files: false
junitxml-path: ./path-to-file/pytest.xml
junitxml-title: My JUnit Xml Summary Title
```
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13679,7 +13679,7 @@ const main = async () => {
`Your comment is too long (maximum is ${MAX_COMMENT_LENGTH} characters), coverage report will not be added.`
);
core.warning(
`Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true" or switch to "multiple-files" mode`
`Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode`
);
report = getSummaryReport({ ...options, hideReport: true });
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const main = async () => {
`Your comment is too long (maximum is ${MAX_COMMENT_LENGTH} characters), coverage report will not be added.`
);
core.warning(
`Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true" or switch to "multiple-files" mode`
`Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode`
);
report = getSummaryReport({ ...options, hideReport: true });
}
Expand Down

0 comments on commit 2b16dda

Please sign in to comment.