From 00c66cb7f006e3c49e824c71953ee9f2517093fb Mon Sep 17 00:00:00 2001 From: Michal Dorner Date: Mon, 1 Feb 2021 21:46:47 +0100 Subject: [PATCH] Add counters outputs to action.yml --- README.md | 14 +++++++------- action.yml | 8 ++++++++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ece334b..8a6713f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index ea4d04a..423fa1d 100644 --- a/action.yml +++ b/action.yml @@ -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'