Skip to content

Commit

Permalink
Add counters outputs to action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dorny committed Feb 1, 2021
1 parent 2077cfc commit 00c66cb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 00c66cb

Please sign in to comment.