Add counters outputs to action.yml

This commit is contained in:
Michal Dorner 2021-02-01 21:46:47 +01:00
parent 2077cfca36
commit 00c66cb7f0
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
2 changed files with 15 additions and 7 deletions

View file

@ -96,13 +96,13 @@ jobs:
```
## Output parameters
| Name | Description |
| :-- | :-- |
| conclusion | `success` or `failure` |
| passed | Count of passed tests |
| failed | Count of failed tests |
| skipped | Count of skipped tests |
| time | Execution time [ms] |
| Name | Description |
| :-- | :-- |
| conclusion | `success` or `failure` |
| passed | Count of passed tests |
| failed | Count of failed tests |
| skipped | Count of skipped tests |
| time | Test execution time [ms] |
## Supported formats

View file

@ -59,6 +59,14 @@ outputs:
Final conclusion of the created check run:
- 'success' if no failed tests was found
- 'failure' if any failed test was found
passed:
description: Count of passed tests
failed:
description: Count of failed tests
skipped:
description: Count of skipped tests
time:
description: Test execution time [ms]
runs:
using: 'node12'
main: 'dist/index.js'