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.4

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.4

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.3
  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'
  • annotation-status-on-error (optional, default: failure): the annotation status on error. Can be 'notice', 'warning', 'failure'