Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Cucumber Report to Annotations

v1.9

Cucumber Report to Annotations

check-square

Cucumber Report to Annotations

Create an annotation of the test run summary and also list first n failed tests as seporate annotations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cucumber Report to Annotations

uses: deblockt/cucumber-report-annotations-action@v1.9

Learn more about this action in deblockt/cucumber-report-annotations-action

Choose a version

cucumber-report-annotations-action

This action should be used to publish action annotations from cucumber json report.

Exemple

- uses: deblockt/cucumber-report-annotations-action@v1.7
  with:
    access-token: ${{ secrets.GITHUB_TOKEN }}
    path: "**/cucumber-report.json"

demo

parameters

  • access-token: mandatory parameter. It's the github token to allow action to add check
  • name (optional, default: Cucumber report): the check name.
  • path (optional, default: **/cucumber-report.json): the glob path to get cucumber report on json format
  • check-status-on-error (optional, default: failure): the check status to use on cucumber error. Can be 'neutral' or 'failure'
  • check-status-on-undefined (optional, default: success): the check status to use on cucumber undefined steps. Can be 'success', 'neutral' or 'failure'
  • check-status-on-pending (optional, default: success): the check status to use on cucumber pending steps. Can be 'success', 'neutral' or 'failure'
  • annotation-status-on-error (optional, default: failure): the annotation status on error. Can be 'notice', 'warning', 'failure'
  • annotation-status-on-undefined (optional): the annotation status on undefined steps. Can be 'notice', 'warning', 'failure'. if this property is not set, no annotation will be generated for undefined steps
  • annotation-status-on-pending (optional): the annotation status on pending steps. Can be 'notice', 'warning', 'failure'. if this property is not set, no annotation will be generated for pending steps