diff --git a/README.md b/README.md index 4e0dde8..987d575 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/dist/index.js b/dist/index.js index cffc567..39da349 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 }); } diff --git a/src/index.js b/src/index.js index 4568b2e..58ade7a 100644 --- a/src/index.js +++ b/src/index.js @@ -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 }); }