mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
update logging and test report
This commit is contained in:
parent
2a53a9deba
commit
cd976285dc
3 changed files with 11 additions and 8 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
|
@ -313,8 +313,8 @@ class TestReporter {
|
|||
return yield this.octokit.rest.checks.update(Object.assign(Object.assign({}, requestParams), { output: Object.assign(Object.assign({}, requestParams.output), { annotations }) }));
|
||||
});
|
||||
this.octokit = github.getOctokit(this.token);
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed') {
|
||||
core.setFailed(`Input parameter 'list-suites' has invalid value`);
|
||||
if (this.listSuites !== 'all' && this.listSuites !== 'failed' && this.listSuites !== 'non-skipped') {
|
||||
core.setFailed(`Input parameter 'list-suites' has invalid value of ${this.listSuites}`);
|
||||
return;
|
||||
}
|
||||
if (this.listTests !== 'all' && this.listTests !== 'failed' && this.listTests !== 'none') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue