mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
npm run all to make updates
This commit is contained in:
parent
c5d96f0a2d
commit
3ddec5a563
1 changed files with 6 additions and 0 deletions
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
|
|
@ -295,6 +295,7 @@ class TestReporter {
|
||||||
this.failOnError = core.getInput('fail-on-error', { required: true }) === 'true';
|
this.failOnError = core.getInput('fail-on-error', { required: true }) === 'true';
|
||||||
this.workDirInput = core.getInput('working-directory', { required: false });
|
this.workDirInput = core.getInput('working-directory', { required: false });
|
||||||
this.onlySummary = core.getInput('only-summary', { required: false }) === 'true';
|
this.onlySummary = core.getInput('only-summary', { required: false }) === 'true';
|
||||||
|
this.showHTMLNotice = core.getInput('show-html-notice', { required: false }) === 'true';
|
||||||
this.token = core.getInput('token', { required: true });
|
this.token = core.getInput('token', { required: true });
|
||||||
this.context = (0, github_utils_1.getCheckRunContext)();
|
this.context = (0, github_utils_1.getCheckRunContext)();
|
||||||
this.octokit = github.getOctokit(this.token);
|
this.octokit = github.getOctokit(this.token);
|
||||||
|
|
@ -411,6 +412,11 @@ class TestReporter {
|
||||||
core.info(`Check run create response: ${resp.status}`);
|
core.info(`Check run create response: ${resp.status}`);
|
||||||
core.info(`Check run URL: ${resp.data.url}`);
|
core.info(`Check run URL: ${resp.data.url}`);
|
||||||
core.info(`Check run HTML: ${resp.data.html_url}`);
|
core.info(`Check run HTML: ${resp.data.html_url}`);
|
||||||
|
core.info(`****** TEST *****`);
|
||||||
|
core.info(`Status of showHTML: ${this.showHTMLNotice}`);
|
||||||
|
if (this.showHTMLNotice) {
|
||||||
|
console.log(`::notice title=Test Results::${resp.data.html_url}`);
|
||||||
|
}
|
||||||
return results;
|
return results;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue