mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 14:57:09 +01:00
GQA-338 - Add url output
This commit is contained in:
parent
e9fa2f582c
commit
ee92a80444
3 changed files with 6 additions and 0 deletions
|
|
@ -174,6 +174,8 @@ jobs:
|
||||||
| failed | Count of failed tests |
|
| failed | Count of failed tests |
|
||||||
| skipped | Count of skipped tests |
|
| skipped | Count of skipped tests |
|
||||||
| time | Test execution time [ms] |
|
| time | Test execution time [ms] |
|
||||||
|
| url | Check run URL |
|
||||||
|
| url_html | Check run URL HTML |
|
||||||
|
|
||||||
## Supported formats
|
## Supported formats
|
||||||
|
|
||||||
|
|
|
||||||
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -411,6 +411,8 @@ 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.setOutput('url', resp.data.url);
|
||||||
|
core.setOutput('url_html', resp.data.html_url);
|
||||||
return results;
|
return results;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -198,6 +198,8 @@ 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.setOutput('url', resp.data.url);
|
||||||
|
core.setOutput('url_html', resp.data.url_html);
|
||||||
|
|
||||||
return results
|
return results
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue