mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 23:07:08 +01:00
slack username
This commit is contained in:
parent
7cb3970161
commit
52df78dda0
2 changed files with 9 additions and 5 deletions
|
|
@ -300,7 +300,9 @@ class TestReporter {
|
|||
result.checkUrl = resp.data.html_url
|
||||
|
||||
if (this.slackWebhook && this.context.branch === 'master') {
|
||||
const webhook = new IncomingWebhook(this.slackWebhook)
|
||||
const webhook = new IncomingWebhook(this.slackWebhook, {
|
||||
username: name
|
||||
})
|
||||
const passed = results.reduce((sum, tr) => sum + tr.passed, 0)
|
||||
const skipped = results.reduce((sum, tr) => sum + tr.skipped, 0)
|
||||
const failed = results.reduce((sum, tr) => sum + tr.failed, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue