Skip to content
play

GitHub Action

Allure report

v0.1.0 Pre-release

Allure report

play

Allure report

Generate Allure report for test suite

Installation

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

              

- name: Allure report

uses: afiore/action-allure-report@v0.1.0

Learn more about this action in afiore/action-allure-report

Choose a version

Action generate Allure report

Uses allure-framework to generate a browsable test report

Inputs

results-dir

Required The relative path to the Allure results directory. Default allure-results.

report-dir

Required The relative path to the directory where Allure will write the generated report. Default allure-results.

Building and running locally

Build the docker image by running:

docker build . -t allure-gen

Then, assuming you have a allure-results and a allure-report folder in your current directory, you can generate the report by running:

docker run -v ${PWD}:/github/workspace allure-gen allure-results allure-report